Approvals
GET/v1/approvals

List approvals

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/approvals" \  -H "Cookie: <console session cookie>"

Returns the organization's approvals, newest first (up to 100), with intent, merchant, reason and countdown. Callable with a console session or an API key holding approval:decide; a team approver sees only its own team's approvals.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/approvalsBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Query
  • statusstring

    Approval status to return: pending (default), approved, rejected, expired, invalidated, or all.

Requires permissionapproval:decide
Held by owner, admin (with a grant), finance (with a grant), approver (own team). The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Query Parameters

status?Status

Approval status to return: pending (default), approved, rejected, expired, invalidated, or all.

Default"pending"

Response Body

Success.

application/json
  1. response
data*array<>
[key: string]?any