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
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).
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidRequest fulfilled, document follows
application/json- response
items*array<>total*integercurl -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}