Browse docs

Messages

Endpoints

GET/messaging/endpoints

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/messaging/endpoints" \
  -H "Authorization: Bearer tt_pat_your_token"

Email forwards

GET/messaging/email-forwards

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/messaging/email-forwards" \
  -H "Authorization: Bearer tt_pat_your_token"

Sending domain

GET/messaging/sending-domain

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/messaging/sending-domain" \
  -H "Authorization: Bearer tt_pat_your_token"

Conversations

GET/messaging/conversations

locationIdRequired
In the query: id starting with LO_.
status
In the query: one of open, closed, all. Default open.
limit
In the query: integer, 1 to 200. Default 100.
kinds
In the query: list of one of sms, email.
curl "http://app.telltailhq.com/api/v1/messaging/conversations" \
  -H "Authorization: Bearer tt_pat_your_token"

Notices

GET/messaging/notices

locationIdRequired
In the query: id starting with LO_.
kinds
In the query: list of one of sms, email.
after
In the query: id starting with MS_.
curl "http://app.telltailhq.com/api/v1/messaging/notices" \
  -H "Authorization: Bearer tt_pat_your_token"

For customer

GET/messaging/customers/{id}/messages

idRequired
In the path: id starting with CU_.
before
In the query: id starting with MS_.
channel
In the query: one of sms, email.
locationId
In the query: id starting with LO_.
curl "http://app.telltailhq.com/api/v1/messaging/customers/{id}/messages" \
  -H "Authorization: Bearer tt_pat_your_token"

History

GET/messaging/customers/{id}/history

idRequired
In the path: id starting with CU_.
topic
In the query: object.
curl "http://app.telltailhq.com/api/v1/messaging/customers/{id}/history" \
  -H "Authorization: Bearer tt_pat_your_token"

Conversation

GET/messaging/conversations/{id}

idRequired
In the path: id starting with CV_.
before
In the query: id starting with MS_.
curl "http://app.telltailhq.com/api/v1/messaging/conversations/{id}" \
  -H "Authorization: Bearer tt_pat_your_token"