Webhooks
Create Webhook
Registers an HTTPS URL to receive outbound webhook integration events.
How to call — POST {server}/api/v1/business/webhooks with X-API-Key and JSON body (url, events, optional description). The response includes a secret once — store it to verify signatures.
To change URL, events, or pause later without a new secret, use PATCH {server}/api/v1/business/webhooks/{id}.
POST
Create Webhook
Authorizations
Your UGiftMe API key for authentication.
Format: Secure API key (e.g., <your-api-key>)
Required: All endpoints require this header
Example: X-API-Key: <your-api-key>
Body
application/json
Response
Created; secret is shown once
Previous
Update WebhookUpdates an existing webhook **subscription** (configuration stored in UGiftMe).
This does **not** change how you receive deliveries: UGiftMe still **POSTs** event payloads to your URL.
Use PATCH to change the target URL, subscribed events, description, or pause/resume (`isActive`) **without** deleting and
re-creating the webhook (the signing **secret** is unchanged).
Provide **at least one** of `url`, `events`, `description`, `isActive`. When updating `events`, the array must be
non-empty and only contain allowed event types.
**How to call** — **PATCH** `{server}/api/v1/business/webhooks/{id}` with `X-API-Key` and a JSON body.
Next
Create Webhook
