Skip to main content

Journal

POST/api/v2/journalcrm-service
curl -s https://crm-service.scenid.cloud/api/v2/journal \
-H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
-d '{
"humanIds": ["SC-ZW2VEG"],
"entry": { "channel": "PHONE", "direction": "INCOMING", "text": "Customer called about order ORD-1012." }
}'
BodyDescription
humanIdsNon-empty array of entity humanIds
entry.channelNOTE, PHONE, MOBILE, FAX, EMAIL, CONVERSATION, CALENDAR_EVENT, FILE, JIRA, MAIL
entry.textRequired
entry.directionUNKNOWN, INCOMING, OUTGOING. Only for PHONE, MOBILE, FAX, EMAIL, MAIL

Response 201: array of the created journal documents. Author SYSTEM for service tokens, otherwise the user's display name and avatar.

Errors: journal/missing-humanIds, journal/invalid-channel, journal/missing-text, journal/direction-not-supported, journal/invalid-direction, entity/not-found.