Docs

Type a word or a question. Esc closes the search.

Sign in Start free

Send a webhook test

Accepts a webhook test request and returns the delivery record with its current status.

POST https://app.upfour.io/v1/webhook-subscriptions/{subscriptionID}/test
POST https://app.upfour.io/v1/webhook-subscriptions/{subscriptionID}/test

A real request. Sending it changes data in your up4 account.

Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs webhook.write.
Path
Headers

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope webhook.write beta Idempotency-Key supported returns 202

Parameters

FieldTypeDescription
subscriptionID required uuid path parameter

Returns

A successful request returns 202 with application/json.

Response fields 1 top-level fields
FieldTypeDescription
data WebhookDelivery
WebhookDelivery · 12 fields
FieldTypeDescription
attempt integer Number of the current attempt, at most 7.
created_at string (date-time)
event string
id uuid
payload_json any The event as sent to the receiver.
scheduled_at string (date-time)
status string one ofpendingretryingdeliveredfailed
subscription_id uuid
delivered_at string (date-time)
next_retry_at string (date-time)
response_body string Never the receiver's answer, only a summary of the attempt: HTTP followed by the status code when the receiver answered (HTTP 200, HTTP 502), otherwise Delivery timed out, Delivery failed (for example a refused connection) or Delivery configuration or destination rejected.
response_code integer

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
402 billing_action_unavailable This action is unavailable in the Company's billing state (error.details.billing_state), for example while credit is used up. When: A metered or limited action while the billing state, such as paused or without credit, blocks it; details holds the action and billing_state. Fix: Top up the credit or change the plan, then retry. billing_action_unavailable: this action is not available in the Company's billing state (error.details.billing_state), for example while the credit is used up.
403 permission_denied The credentials do not permit this action.
503 quota_gate_unavailable The limit check itself failed, so the action was not carried out. When: The quota service could not decide while the request ran. Fix: Retry in a moment; nothing was changed.
403 / 429 quota_limit_reached The protection limit for this action is used up for now; error.details carries purpose, limit, window and retry_after_seconds, and the Retry-After header says when the same request can succeed. When: Counters and concurrency limits answer 429 with Retry-After, inventory and capacity limits answer 403; details holds purpose, limit and window. Fix: On 429 wait Retry-After seconds; on 403 free something up, request a higher limit where details.raise_request is true, or buy an extension. quota_limit_reached: the protection limit of this action is used up for now. error.details carries purpose, limit, window and retry_after_seconds; the Retry-After header says when the same request can succeed.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.