Events
Log an event
POST
Log a conversation using an event type from your workspace. Reusing a channel and externalId returns the existing event and adds any new links. Requires the write scope.
bearerAuthheader
AuthorizationBearer <token>A workspace API key.
application/json- body
type*stringLength
1 <= length <= 100channel*stringLength
1 <= length <= 100externalId?stringLength
1 <= length <= 500occurredAt*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Format
date-timetitle?stringLength
length <= 500summary?stringLength
length <= 20000fields?Default
{}bindings?participants?array<>Items
items <= 200Default
[]about?array<>Items
items <= 200Default
[]The event was already logged.
application/json- response
id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidtype*stringcreated*booleanparticipants*about*array<>added?curl -X POST 'https://retainer.tamloot.cc/v1/events' \ -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "type": "conversation", "channel": "calendar", "externalId": "acme-renewal", "occurredAt": "2026-11-18T10:00:00Z", "title": "Acme renewal review", "fields": { "medium": "meeting" }, "about": [ "d2c0648c-2994-4f16-bdf1-a0136be6037d" ]}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "type": "string", "created": true, "participants": { "matched": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "handle": "string", "role": "string", "recordId": "0470cfd4-dcf3-4d8c-ac28-58c6deeff25f" } ], "unmatched": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "handle": "string", "role": "string", "reason": "no_match", "candidates": [ "ca3c6e0b-3eb2-4d6c-b8d9-7ce3bd020121" ] } ] }, "about": [ "dae22e5f-09ed-4916-9fa4-01d6902a20dd" ], "added": { "participants": { "matched": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "handle": "string", "role": "string", "recordId": "0470cfd4-dcf3-4d8c-ac28-58c6deeff25f" } ], "unmatched": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "handle": "string", "role": "string", "reason": "no_match", "candidates": [ "ca3c6e0b-3eb2-4d6c-b8d9-7ce3bd020121" ] } ] }, "about": [ "dae22e5f-09ed-4916-9fa4-01d6902a20dd" ] }}