Skip to main content
POST
/
connection
/
webhook
/
update
Update Webhook Delivery Endpoint
curl --request POST \
  --url https://sandbox.deck.co/api/v1/connection/webhook/update \
  --header 'Content-Type: application/json' \
  --header 'x-deck-client-id: <api-key>' \
  --header 'x-deck-secret: <api-key>' \
  --data '
{
  "access_token": "<string>",
  "url": "<string>",
  "is_active": true
}
'
{
  "error_category": "INVALID_REQUEST",
  "error_code": "DATA_SOURCE_NOT_FOUND",
  "error_message": "<string>",
  "display_message": "<string>"
}

Authorizations

x-deck-client-id
string
header
required

Enter your client id

x-deck-secret
string
header
required

Enter your secret

Body

access_token
string
required

The access token associated with the Item data is being requested for

Minimum string length: 1
url
string
required

The URL of the webhook

Minimum string length: 1
is_active
boolean
required

The status of the webhook. If true, the webhook is active. If false, the webhook is inactive.

Response

OK