Skip to content

Approvals inbox: the ones you requested and the ones you can decide, most recent first (cursor-paginated). Dashboard session only

GET
/v1/orgs/{org}/approvals
curl --request GET \
--url 'https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/approvals?status=pending&action=security_policy_change'

With status=pending, only those still waiting (expired ones no longer count). status=expired lists those that expired without a decision. Whoever has the approvals.decide permission across the whole organization (owner or admin) sees all of them; a brand approver sees those of their brands.

org
required
string
/^org_[a-z0-9]{26}$/

Example

org_01hx0000000000000000000000
limit
string
cursor
string
status
string
Allowed values: pending approved rejected cancelled executed failed expired
action
string
Allowed values: security_policy_change credentials_change contacts_export bulk_delete

Requests

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
brandId
required

Brand of the action; null if it applies to the whole organization.

string
nullable
action
required
string
Allowed values: security_policy_change credentials_change contacts_export bulk_delete
status
required

executed: approved and the action took place; failed: approved but the action failed (see failureCode); expired: 72 h passed without a decision.

string
Allowed values: pending approved rejected cancelled executed failed expired
summary
required

What the approver sees (no secrets).

object
key
additional properties
nullable
requestedBy
required

Person (usr_…) or API key (key_…) that requested it.

string
requestedSource
required
string
Allowed values: panel api mcp
decidedBy
required
string
nullable
decidedAt
required
string
nullable
decisionReason
required
string
nullable
executedAt
required
string
nullable
failureCode
required

Error code of the action when it ended up failed.

string
nullable
expiresAt
required
string
createdAt
required
string
approversAvailable
required

People who can decide it (excluding the requester). 0: the dashboard suggests inviting someone. Null if it is no longer pending and in listings (computed when it is requested and when it is fetched).

number
nullable
nextCursor
required
string
nullable

Example

{
"data": [
{
"action": "security_policy_change",
"status": "pending",
"requestedSource": "panel"
}
]
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}