Skip to content

Create webhook

POST
/v1/webhooks
curl --request POST \
--url http://api.disclosebot.localdev:3000/v1/webhooks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{ "data": { "type": "example", "attributes": {}, "relationships": { "trigger_event_types": { "data": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "type": "trigger_event_type" } ] } } } }'
Media type application/vnd.api+json
object
data
required
object
type
string
attributes
object
relationships
object
trigger_event_types
object
data
Array<object>
object
id
string format: uuid
type
string
Allowed values: trigger_event_type

Created

Validation error