Skip to main content
POST
TypeScript

Headers

Idempotency-Key
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Path Parameters

requestId
string
required

The approval request ID.

Body

application/json

The signed approval of a pending request.

signature
string
required

Base64url-encoded signature over the request's signable data, produced with the private key of a registered approval API key. If keyId is provided the signature must match that key; otherwise it is matched against all of the user's registered keys.

Example:

"MEUCIQD...signature...Ok"

keyId
string

The ID of the approval API key used to sign the request. Optional — if omitted, the signature is verified against all of the user's registered approval API keys.

Example:

"64e6b6a3-a607-40e0-8a1e-fe93976ffd46"

Response

The approval request was approved.