Integration

Subscribe a webhook for a specified event. Read the Webhooks guide to see available objects, actions, payload info and more.

post/postWebhook

Request

  • Base URL
    https://api.cloudbeds.com/api/v1.3
  • URL
    https://api.cloudbeds.com/api/v1.3/postWebhook
  • Auth
    • API key in header x-api-key
    • or OAuth 2
      Authorization code

Request body application/x-www-form-urlencoded

propertyIDstring nullable

Property ID

objectstring

Event object

actionstring

Event action

endpointUrlstring

Endpoint URL

authHeaderNamestring nullable

HTTP header sent with every delivery, i.e. Authorization. Use instead of credentials in endpointUrl. Requires authHeaderValue.

authHeaderValuestring nullable

Value for authHeaderName, i.e. Basic dXNlcjpwYXNz. Never returned by getWebhooks. Re-post to rotate. Requires authHeaderName.

Response

200 Response

successboolean

Returns if the request could be completed

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property