Skip to content

Confirm a pending action (owner only, dashboard session): only now is it executed, as that person.

POST
/v1/pending-actions/{action}/confirm
curl --request POST \
--url https://api.replifier.com/v1/pending-actions/apa_01hx0000000000000000000000/confirm

If the organization requires MFA, recent authentication is required (reauth_required). If the approval policy requires another person to approve, the target route leaves the request and the action stays in awaiting_approval. Expired (15 minutes in the assistant, 24 hours in MCP): 410 pending_action_expired.

action
required
string
/^apa_[a-z0-9]{26}$/

Example

apa_01hx0000000000000000000000

Executed, awaiting approval, or failed

Media typeapplication/json
object
id
required
string
tool
required
string
channel
required
string
Allowed values: assistant mcp api_key
status
required
string
Allowed values: pending confirmed discarded expired awaiting_approval executed failed
summary
required
object
key
additional properties
nullable
result
nullable
expiresAt
required
string
createdAt
required
string

Example

{
"channel": "assistant",
"status": "pending"
}

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"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

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"
}
}

Conflict

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"
}
}

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"
}
}

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"
}
}