Authorizations
API Key authentication for machine-to-machine communication.
Authentication Process:
- Generate an access key and secret key pair from your Bridge dashboard
- Include the access key in the
X-API-Key
header - Sign your requests using the secret key (HMAC-SHA256)
- Include the signature in the
X-API-Signature
header
Request Signing:
- Create a string to sign:
{HTTP_METHOD}\n{REQUEST_PATH}\n{REQUEST_BODY}\n{TIMESTAMP}
- Generate HMAC-SHA256 signature using your secret key
- Include timestamp in
X-API-Timestamp
header (Unix timestamp) - Include signature in
X-API-Signature
header
Example Headers:
X-API-Key: ak_1234567890abcdef
X-API-Timestamp: 1642234567
X-API-Signature: a1b2c3d4e5f6...
Path Parameters
Unique identifier of the workspace
"ws_abc123"
Unique identifier of the contact
"contact_abc123"
Body
Contact's first name
"John"
Contact's last name
"Doe"
Contact's cellphone number (required)
"+1-555-123-4567"
Contact's email address (optional)
"john.doe@example.com"
Email address of the salesperson or user who owns this contact
"salesperson@your-company.com"
Array of custom key-value attributes
Response
Contact updated successfully
Unique identifier for the contact
"contact_abc123"
Unique identifier of the workspace this contact belongs to
"ws_abc123"
Contact's first name
"John"
Contact's last name
"Doe"
Timestamp when the contact was created
"2024-01-15T10:30:00Z"
Timestamp when the contact was last updated
"2024-01-15T10:30:00Z"
Contact's email address
"john.doe@example.com"
Contact's cellphone number
"+1-555-123-4567"
Array of custom key-value attributes
Email address of the salesperson or user who owns this contact
"salesperson@your-company.com"