Api referencePostmaster
GET
/postmaster/callback

Query Parameters

code*string

OAuth2 authorization code from Google

state*string

CSRF state token for verification

Response Body

application/json

application/json

curl -X GET "https://zend.sh/api/v1/postmaster/callback?code=string&state=string"
{
  "connected": true,
  "google_email": "user@example.com"
}
{
  "type": "string",
  "message": "string",
  "field": "string",
  "status": 0
}