Contactsv4
Get contact timeline
GET
/contacts/{contactId}/timelineCross-channel activity timeline (messages) for a contact.
Path parameters
contactIdRequiredstringUnique identifier of the contact, prefixed with ct_. Returned when you create a contact or by the List contacts endpoint.
Headers
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Bearer
Query parameters
limitoptionalintegerMaximum number of items to return per page. Must be between 1 and 200; defaults to 50. Combine with cursor to paginate.
cursoroptionalstringOpaque pagination cursor. Pass the next_cursor value from a previous response to fetch the next page; omit it on the first request.
Returns
dataoptionalobject[]
dataoptionalobject[]Array of object
idoptionalstringchat_idoptionalstringchannel_idoptionalstringchannel_typeoptionalstring"blooio""twilio""whatsapp""whatsapp_business""rcs_business""amb"directionoptionalstring"inbound""outbound"typeoptionalstringtextoptionalstring | nullstatusoptionalstringcreated_atoptionalintegerhas_moreoptionalbooleannext_cursoroptionalstring | nullResponse codes
200Timeline page
401Your API key is missing or invalid. Pass it as a bearer token.
404No contact was found with the provided `contactId`.
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X GET https://api.blooio.com/v4/contacts/ct_a1b2c3d4/timeline?limit=50&cursor=string \ -H "Authorization: Bearer bl_live_..."{ "data": [ { "id": "obj_a1b2c3d4", "chat_id": "chat_a1b2c3d4", "channel_id": "ch_a1b2c3d4", "channel_type": "blooio", "direction": "inbound", "type": "string", "text": "Hello from Blooio!", "status": "active", "created_at": 0 } ], "has_more": true, "next_cursor": "string"}