Skip to main content
POST
Record an outbound SDK call (browser to phone)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

At least one of contactId or phoneNumber must be provided.

contactId
string
required

Contact ObjectId to dial; the contact's phone number is used as the destination.

phoneNumber
string

Destination number in E.164; if no contact matches, the call is recorded without one.

Response

Call record created

success
enum<boolean>
required
Available options:
true
call
object

A Call document. Many fields are provider-specific; clients should be tolerant of additional properties.

Example:
message
string