get/phone/sms/threads/{id}

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/phone/sms/threads/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

idstring required

Conversation identifier from sms_thread_list / MessageOutput.threadId

Query parameters

limitinteger

Maximum messages to return (1–100, default 50). When the conversation is longer, the MOST RECENT limit messages are returned (still ordered oldest-first among themselves) — reach deeper history via GET /messages?threadId=.

Response

OK

threadIdstring required

Conversation identifier

agentIdstring required

Agent that owns this conversation

participantAddressstring required

The counterparty's phone number (E.164)

agentAddressstring required

The agent's own phone number used in this conversation

messageCountinteger required

Total messages in the conversation

hasMoreboolean required

True when the conversation holds more messages than this response returned (older ones precede messages)

Changes

No recorded changes to this operation across all 1 revision of this API.