Record an outbound SDK call (browser to phone)
Calls
Record an outbound SDK call (browser to phone)
Persists a Call record (and conversation, if a contact is resolved) for a browser-initiated outbound call placed via the active voice provider’s SDK. Either contactId or phoneNumber must be provided; if both are absent the request is rejected. Emits the call_initiated socket event.
POST
Record an outbound SDK call (browser to phone)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Call record created
Available options:
true A Call document. Many fields are provider-specific; clients should be tolerant of additional properties.
Example:
{
"_id": "64f0a1b2c3d4e5f6a7b8cb00",
"callId": "64f0a1b2c3d4e5f6a7b8cb00",
"provider": "sinch",
"providerCallId": "sinch-call-abc123",
"direction": "outbound",
"status": "completed",
"from": "+14165550100",
"to": "+14165550199",
"contactId": "64f0a1b2c3d4e5f6a7b8c9d0",
"conversationId": "64f0a1b2c3d4e5f6a7b8c9e0",
"organizationId": "64f0a1b2c3d4e5f6a7b8c9d3",
"userId": "64f0a1b2c3d4e5f6a7b8c9d4",
"providerPhoneNumber": "+14165550100",
"startTime": "2026-05-15T09:10:00.000Z",
"answerTime": "2026-05-15T09:10:08.000Z",
"endTime": "2026-05-15T09:12:34.000Z",
"duration": 154,
"recordings": [],
"createdAt": "2026-05-15T09:10:00.000Z",
"updatedAt": "2026-05-15T09:12:34.000Z"
}