Skip to main content
PUT
/
webhooks
/
configs
Update webhook configurations
curl --request PUT \
  --url https://{subdomain}.nudj.cx/api/v2/admin/webhooks/configs \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: <api-key>' \
  --data '{
  "webhookConfig": [
    {
      "events": [
        "achievement-completion"
      ],
      "url": "<string>",
      "httpMethod": "GET",
      "isEnabled": true,
      "maxRetries": 2,
      "headers": {}
    }
  ]
}'
{
  "webhookConfig": [
    {
      "events": [
        "achievement-completion"
      ],
      "url": "<string>",
      "httpMethod": "GET",
      "isEnabled": true,
      "maxRetries": 2,
      "headers": {}
    }
  ]
}

Authorizations

x-api-token
string
header
required

Body

application/json
webhookConfig
Webhook Configuration · object[]
required

Response

Successful response

webhookConfig
Webhook Configuration · object[]
required
I