Email Import

Disconnect Email Provider

Changed on

Revoke email access and invalidate the token.

This calls the provider's token revocation API (e.g., Google's revoke endpoint) to ensure the user's consent is properly removed.

After calling this, the inbox_token becomes unusable.

post/v4/inbox/disconnect

Request

  • Base URL
    https://api.casparser.in
  • Auth
    API key in header x-api-key

Headers

x-inbox-tokenstring required

The encrypted inbox token to revoke

Response

Successfully disconnected

statusstring
msgstring

Example response

{
  "status": "success",
  "msg": "Email disconnected successfully"
}

Changes