Skip to main content
PATCH
/
api
/
v1
/
webhook
/
{uuid}
Update webhook by UUID
curl --request PATCH \
  --url https://api.paylora.org/api/v1/webhook/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://example.com/webhook"
}
'
{
  "success": true,
  "data": {
    "uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "user_uuid": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "url": "https://example.com/webhook",
    "secret": "strongsecret"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

uuid
string
required

Body

application/json
url
string
Example:

"https://example.com/webhook"

Response

Resource model

success
boolean
required

Indicates if the request was successful

Example:

true

data
object
required

The data returned by the API