POST
/
v3
/
integrations
/
gmail
/
webhook
Receive Pub/Sub notification
curl --request POST \
  --url http://127.0.0.1:3333/v3/integrations/gmail/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": {
    "data": "<string>",
    "messageId": "<string>",
    "publishTime": "<string>"
  }
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

token
string

Body

application/json
message
object
required
subscription
string

Response

Default Response

message
string
required