Pular para o conteúdo principal
POST
/
v1.0
/
webhooks
Create a webhook endpoint
curl --request POST \
  --url https://api.thatsme.com.br/api/v1.0/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "description": "<string>"
}
'

Autorizações

Authorization
string
header
obrigatório

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

Corpo

application/json
url
string<uri>
obrigatório

URL to receive webhook events

events
string[]
obrigatório

List of event types to subscribe to

description
string

Description for this endpoint

Resposta

201

Webhook endpoint created