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"
Body
- Option 1
- Option 2
- Option 3
Array of external user identifiers (required)
1
Array of internal user identifiers (optional, mutually exclusive with teamId)
Team UUID for round-robin assignment (optional, mutually exclusive with internalParticipants)
"SOME-TEAM-UUID"
Optional name/title for the conversation
"Support Request - John Doe"
Initial conversation status - 'active' for visible conversations, 'ghost' for invisible until first interaction
active
, ghost
Response
Conversation created 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"