API referenceEmail oauth apps
409 while a mailbox still uses it.
X-API-KEY<token>
Your API key from the console (gw_live_…).
In: header
Path Parameters
id*string
An OAuth app (emo_…).
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/email/api/v1/oauth_apps/string"{ "object": "OAuthAppDeleted"}Register an OAuth app POST
Swarmhit's own. The app the engine refreshes your Google or Microsoft mailboxes' tokens with (`kind: oauth`), or one that reaches a domain's mailboxes itself (`kind: service`: Google domain-wide delegation with `service_client` and `service_key`; Microsoft app-only with `tenant_id`). `route: api` uses the Gmail API / Graph, `imap` IMAP and SMTP. The secrets go to the engine only and are never answered.
Get an OAuth app GET
Next Page