Skip to main content
PUT
/
entity
/
webhook
Update webhook URL
curl --request PUT \
  --url https://nitro-script-api.nitrorx.ai/entity/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "webhook_url": "https://your-webhook-url.com/webhook"
}
'
{
  "message": "Webhook URL updated successfully",
  "data": {
    "webhook_url": "https://example.com/webhook"
  }
}

Authorizations

Authorization
string
header
required

API Key for authentication

Body

application/json

Webhook URL that needs to be updated.

webhook_url
string<uri>
required

Webhook URL that needs to be updated. It has to be a valid URL and must be HTTPS. POST requests are accepted only.

Example:

"https://your-webhook-url.com/webhook"

Response

Webhook URL updated successfully response

message
string

Message will be a description of the response

Example:

"Webhook URL updated successfully"

data
object