Syndai Docs

List mail to reply to

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

GET
/api/v1/coding/customers/{customer_id}/mail/to-reply

Your own connected Gmail threads waiting on your reply beyond Needs you, newest first: sender, subject, gist and why, plus the full count. The text is other people's words. Only ever the caller's own mail. Requires coding:runs:read and a person (a workspace key is refused).

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
items*array<>
total*integer
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/mail/to-reply'
Example Response
{  "items": [    {      "amount_minor": 0,      "at": "string",      "currency": "string",      "due_at": "string",      "from_name": "string",      "gist": "string",      "kind": "string",      "state": "string",      "subject": "string",      "thread_id": "1de43264-67cb-48af-89f9-e865c375bb84",      "why": "string"    }  ],  "total": 0}
Was this page helpful?