Syndai Docs

List Inbox entries

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/customers/{customer_id}/submissions

One newest-first page of the Inbox: form messages, orders and chat handoffs from your sites, with their follow-up state and draft reply; q searches the view. The text is what visitors wrote. A signed-in owner or admin only; an API key is refused.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Query Parameters

view?string
Default"open"
Value in"open""done""signups"
repository_id?|null
cursor?string|null
limit?integer
Default50
q?string|null

Response Body

Request fulfilled, document follows

application/json
  1. response
items*array<>
next_cursor?string|null
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/submissions'
Example Response
{  "items": [    {      "app_name": "string",      "booked": false,      "created_at": "string",      "delivery": "string",      "email": "string",      "fields": {        "property1": "string",        "property2": "string"      },      "follow_up": "string",      "gap": "string",      "gap_label": "string",      "host": "string",      "id": "string",      "kind": "string",      "news": true,      "order": {        "amount_refunded": 0,        "amount_total": 0,        "currency": "string",        "lines": [          {            "name": "string",            "qty": 0,            "unit_amount": 0          }        ],        "payment_status": "string",        "stripe_url": "string",        "summary": "string"      },      "page": "string",      "publication_id": "string",      "reason": "string",      "reply_draft": "string",      "reply_ok": true,      "repository_id": "string",      "title_viewer": "string",      "turns": [        {          "role": "string",          "text": "string",          "text_en": "string",          "text_visitor": "string",          "via": "chat"        }      ]    }  ],  "next_cursor": "string"}
Was this page helpful?