Create a call log
POST /callLog
Creates a CRM activity for a RingCentral call and records the session-plus-extension mapping used for de-duplication and later updates. Both the browser client and server-side logging service use this route; the latter can create a pending call and later patch it. Synchronous plugins can transform the payload before CRM creation, and asynchronous call plugins are dispatched after the activity is saved.
Operation ID: postCallLog
Authorization: BEARER or API key
Request body
RingCentral call, CRM contact association, note, and optional enrichment data. Recording download URLs and nested tokens are sensitive.
Required: Yes
Content type: application/json
Schema: CreateCallLogRequest
{
"logInfo": {
"id": "123456789",
"sessionId": "987654321",
"telephonySessionId": "s-a1b2c3",
"direction": "Inbound",
"from": {
"phoneNumber": "+14155550100",
"name": "Jane Smith"
},
"to": {
"phoneNumber": "+16505550199",
"extensionNumber": "101"
},
"startTime": "2026-06-24T02:30:00.000Z",
"duration": 125,
"result": "Accepted",
"recording": {
"link": "https://example.com/recording/123"
}
},
"extensionNumber": "101",
"hashedExtensionId": "hashed-extension-101",
"contactId": "crm-contact-123",
"contactName": "Jane Smith",
"contactType": "Contact",
"note": "Discussed renewal options."
}
Responses
| Status | Description | Body |
|---|---|---|
200 |
Call-log creation result. | CallLogMutationResponse |
400 |
Bad request, missing authentication, or connector error. | ErrorResponse, string |
401 |
The user session is expired or revoked. | ErrorResponse, string |