curl --request POST \
--url https://api.klipy.ai/api/v1/interactions \
--header 'Content-Type: application/json' \
--header 'X-Klipy-Api-Key: <api-key>' \
--data '
{
"type": "DIRECT_MESSAGE",
"direction": "INBOUND",
"title": "<string>",
"mainContact": "<string>",
"summary": "<string>",
"primaryId": "<string>",
"secondaryId": "<string>",
"interactionDate": 123,
"mainContactEmail": "jsmith@example.com"
}
'{
"object": "success",
"data": {
"id": "<string>",
"isDuplicate": true
},
"meta": {
"request_id": "req_abc123",
"api_version": "1",
"timestamp": "2023-11-07T05:31:56Z"
}
}curl --request POST \
--url https://api.klipy.ai/api/v1/interactions \
--header 'Content-Type: application/json' \
--header 'X-Klipy-Api-Key: <api-key>' \
--data '
{
"type": "DIRECT_MESSAGE",
"direction": "INBOUND",
"title": "<string>",
"mainContact": "<string>",
"summary": "<string>",
"primaryId": "<string>",
"secondaryId": "<string>",
"interactionDate": 123,
"mainContactEmail": "jsmith@example.com"
}
'{
"object": "success",
"data": {
"id": "<string>",
"isDuplicate": true
},
"meta": {
"request_id": "req_abc123",
"api_version": "1",
"timestamp": "2023-11-07T05:31:56Z"
}
}API key passed as a header
DIRECT_MESSAGE, EMAIL, MEETING, MEMO, BOOKING_CREATED, BOOKING_CANCELLED, MANUAL, API_EVENT, VOICE_NOTE INBOUND, OUTBOUND, HYBRID, INTERNAL, EVENT 100010000Unix timestamp in milliseconds.
Was this page helpful?