Webhooks

Create a webhook

Subscribe to order events. The webhook URL will receive POST requests with a signed payload.

post/webhooks

Request

  • Base URL: https://barevalue.com/api/v1
  • URL: https://barevalue.com/api/v1/webhooks
  • Auth: HTTP bearer

Request body

urlstring uri required

HTTPS URL to receive webhook POST requests

eventsstring[] required

Events to subscribe to

Example request

{
  "url": "https://example.com/webhooks/barevalue"
}

Response

Webhook created

idinteger
urlstring uri
eventsstring[]
secretstring

HMAC signing secret. Only returned on creation.

activeboolean
created_atstring date-time

Changes

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