POST
/
webhooks
/
configurations
curl --request POST \
  --url https://api-sandbox.orum.io/webhooks/configurations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Orum-Version: <orum-version>' \
  --data '{
  "event_types": [
    "subscribe_all"
  ],
  "url": "<string>",
  "enabled": true
}'
{
  "webhook_configuration": {
    "id": "<string>",
    "enterprise_name": "<string>",
    "data_version": "v2022-09-21",
    "event_types": [
      "subscribe_all"
    ],
    "enabled": true,
    "url": "<string>",
    "created_at": "<string>",
    "created_by": "<string>",
    "updated_at": "<string>",
    "updated_by": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Orum-Version
enum<string>
required

Version of Deliver API. Use v2022-09-21.

Available options:
v2022-09-21

Body

application/json

Response

200
application/json
200 response.

The response is of type object.