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 conversation
"conv_abc123"
Body
Optional name/title for the conversation
"Updated Support Request - John Doe"
Conversation status - 'active' for visible conversations, 'ghost' for invisible until first interaction, 'archived' for completed conversations
active
, archived
, ghost
External participants to add
External participants to remove
Internal participants to add
Internal participants to remove
Response
Conversation updated successfully
Unique identifier for the conversation
"conv_abc123"
Unique identifier of the workspace this conversation belongs to
"ws_abc123"
Array of external participants
Current conversation status - 'active' for visible conversations, 'ghost' for invisible until first interaction, 'archived' for completed conversations
active
, archived
, ghost
"active"
Timestamp when the conversation was created
"2024-01-15T10:30:00Z"
Timestamp when the conversation was last updated
"2024-01-15T15:45:00Z"
Array of internal participants
Optional name/title for the conversation
"Support Request - John Doe"
Team ID if assigned via round-robin
"team_sales"