Skip to main content
POST
/
v4
/
inbox
/
status
Check Email Connection Status
curl --request POST \
  --url https://api.casparser.in/v4/inbox/status \
  --header 'x-api-key: <api-key>' \
  --header 'x-inbox-token: <x-inbox-token>'
{
  "status": "success",
  "connected": true,
  "provider": "gmail",
  "email": "user@gmail.com"
}

Authorizations

x-api-key
string
header
required

Your API key for authentication. Use sandbox-with-json-responses as Sandbox key.

Headers

x-inbox-token
string
required

The encrypted inbox token

Response

Token status retrieved

status
string
Example:

"success"

connected
boolean

Whether the token is valid and usable

Example:

true

provider
string
Example:

"gmail"

email
string<email>

Email address of the connected account

Example:

"user@gmail.com"