cURL
curl --request POST \ --url https://api.clientcommander.com/v1/activities \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "personId": "<string>", "type": "call", "channel": "<string>", "direction": "inbound", "content": "<string>" } '
{ "meta": { "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "timestamp": "2023-11-07T05:31:56Z", "version": "1.0.0" }, "data": { "id": "<string>", "personId": "<string>", "type": "call", "createdAt": "2023-11-07T05:31:56Z", "channel": "<string>", "direction": "inbound", "content": "<string>", "agentName": "<string>", "starred": false } }
Log a new activity for a contact.
API key for authentication using Bearer token scheme.
How to get your API key:
Authorization: Bearer ccmd_live_your_key_here
call
email
note
meeting
sms
activity
inbound
outbound
5000
Activity created
Show child attributes