Messages

Get a thread with all messages

get/v1/inboxes/{id}/threads/{threadId}

Request

  • Base URL: https://anjal.app
  • URL: https://anjal.app/v1/inboxes/{id}/threads/{threadId}
  • Auth: API key in header X-API-Key

Query parameters

view'metadata' | 'snippet' | 'full' | 'raw'

Payload weight. metadata = no bodies; snippet = 200-char plain snippet; full (default) = plainBody only; raw = plainBody + htmlBody. htmlBody is ~95% of a thread's bytes — only request it when you actually need rendered HTML.

Response

OK

threadIdstring uuid
messageCountinteger

Example response

{
  "messages": [
    {
      "attachments": [
        {
          "contentType": "application/pdf"
        }
      ]
    }
  ]
}

Changes

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