Skip to main content
POST
/
webhooks
Create a webhook
curl --request POST \
  --url https://api.robase.dev/v1/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "description": "<string>",
  "events": [
    "<string>"
  ]
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "enabled": true,
  "secret": "<string>"
}

Authorizations

Authorization
string
header
required

Pass your API key as Authorization: Bearer rb_live_...

Body

application/json
url
string<uri>
required
description
string
events
string[]

Response

201 - application/json

Created — copy the secret, it's shown only once.

id
string<uuid>
url
string<uri>
events
string[]
enabled
boolean
secret
string

Returned only on create.