Skip to main content
POST
/
webhooks
Create webhook subscription
curl --request POST \
  --url https://api.getovra.com/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "description": "<string>"
}
'
{
  "id": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "status": "<string>",
  "secret": "<string>",
  "hint": "<string>"
}

Authorizations

Authorization
string
header
required

API key (sk_...) or Agent token (at_...)

Body

application/json
url
string<uri>
required
events
string[]
required
Minimum array length: 1
description
string

Response

Webhook created. Store the secret value securely.

id
string
url
string
events
string[]
status
string
secret
string

HMAC secret. Only returned on creation.

hint
string