Get a conversationComing soon
Returns one conversation.
Coming soon. Returns one conversation.
Scopes: messages:read
Pricing: Included with the connection.
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
Scope: messages:read
conversation_id*stringConversation id.
1 <= length <= 64The conversation.
application/json- response
id*stringConversation id.
1 <= length <= 64type*string"direct""group"channel*stringtext: the conversation runs by text message with the other person’s phone.
"matchai""text"name?|Group name. null for direct conversations.
participants*array<>Everyone in it, you included.
context*last_message?|nullunread_count*integerMessages you have not read.
0 <= valuearchived*booleanArchived by you.
created_at*stringStarted.
date-timeupdated_at*stringLast activity.
date-timecurl -X GET 'https://api.matchai.co/v1/conversations/string'{ "id": "string", "type": "direct", "channel": "matchai", "name": "string", "participants": [ { "user_id": "string", "contact_id": "string", "display_name": "string", "avatar_url": "http://example.com" } ], "context": { "listing_id": "string", "contact_id": "string", "project_id": "string", "team_id": "string" }, "last_message": { "id": "string", "preview": "string", "sender_user_id": "string", "sent_at": "2019-08-24T14:15:22Z" }, "unread_count": 0, "archived": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}