ข้ามไปยังเนื้อหา
GrowSocmedเอกสารSocial media command center

Get a conversation

One DM conversation

GET
/inbox/conversations/{id}

One DM conversation

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Path Parameters

id*string
Formatuuid

Response Body

OK

application/json
  1. response
conversation*
Example Request
curl -X GET 'https://socmed.growpaces.com/api/v1/inbox/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response200
{  "conversation": {    "id": "string",    "account": {      "id": "string",      "platform": "string",      "username": "string"    },    "contact": {      "id": "string",      "username": "string",      "name": "string",      "avatar_url": "string"    },    "status": "open",    "unread_count": 0,    "last_message_at": "string",    "last_message_preview": "string",    "last_message_direction": "string",    "window_expires_at": "string",    "handed_off_at": "string"  }}