POST
/
v1
/
webhooks
Register webhook
curl --request POST \
  --url https://api.getbluma.com/api/v1/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '"<string>"'
{
  "id": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "secret": "<string>",
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "warning": "<string>"
}

Authorizations

Authorization
string
header
required

Use your API key in the format: Bearer bluma_live_your_api_key_here

Body

application/json · string

The body is of type string.

Response

201 - application/json

Webhook registered

id
string
url
string
events
string[]
secret
string

Webhook secret (shown only once!)

is_active
boolean
created_at
string<date-time>
warning
string