Skip to main content
POST
/
api
/
public
/
v2
/
webhooks
/
{id}
/
{status}
Update webhook status
curl --request POST \
  --url https://app.titanx.io/api/public/v2/webhooks/{id}/{status} \
  --header 'Authorization: Bearer <token>'
{
  "payload": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "status": "inactive",
    "updatedAt": "2024-01-15T10:35:00Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Webhook ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

status
enum<string>
required

New status for the webhook

Available options:
active,
inactive
Example:

"inactive"

Response

Webhook status updated successfully

payload
object
required