Webhooks

Add new webhook.

Webhooks allows to subscribe to chosen resource and getting information about this resource state change

post/webhooks

Request

  • Base URL: https://pts-api.procountor.com/api
  • URL: https://pts-api.procountor.com/api/webhooks
  • Auth: HTTP bearer

Request body

uuidstring uuid

Generated webhook UUID.

urlstring url required

Provided URL, for receiving notifications.

authenticationType'HMAC' | 'NONE' required

Webhook's authentication type.

authenticationMetaobject

Webhook's authentication meta.

subscriptionsstring[] required

Collection of subscribed event types.

Response

Webhook was successfully created

statusinteger

HTTP response status.

uuidstring uuid

Generated UUID

Changes

No recorded changes to this operation across all 1 revision of this API.