Mailboxes

Connect Callback

Called by the provider when a hosted-auth flow succeeds (not by users).

API key access

This route has its own authentication (or none); an API key is not used here.
POST/api/v1/mailboxes/connect/callback

Query Parameters

statestring
Length1 <= length <= 1024

Empty Object

Response Body

curl -X POST "http://localhost:8000/api/v1/mailboxes/connect/callback?state=string" \  -H "Content-Type: application/json" \  -d '{    "property1": null,    "property2": null  }'
{
  "status": "ok",
  "mailbox_id": "4d23d1af-2eef-4598-a5e0-1f19ae0b0c14"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}