Get full conversation thread with messages
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_*)
In: header
Path Parameters
id*string
Conversation ID
Response Body
application/json
application/json
application/json
curl -X GET "https://api.relayapi.dev/v1/inbox/conversations/string"{
"conversation": {
"id": "string",
"platform": "twitter",
"type": "comment_thread",
"account_id": "string",
"participant_name": "string",
"participant_avatar": "string",
"participant_metadata": null,
"status": "open",
"assigned_user_id": "string",
"priority": "string",
"labels": [
"string"
],
"unread_count": 0,
"message_count": 0,
"last_message_text": "string",
"last_message_at": "string",
"last_message_direction": "string",
"created_at": "string",
"updated_at": "string"
},
"messages": [
{
"id": "string",
"conversation_id": "string",
"platform_message_id": "string",
"author_name": "string",
"author_platform_id": "string",
"author_avatar_url": "string",
"text": "string",
"direction": "string",
"attachments": null,
"sentiment_score": 0,
"classification": "string",
"platform_data": null,
"is_hidden": true,
"is_liked": true,
"created_at": "string"
}
]
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}Found something wrong? Help us improve this page.