Approvals
Get an approval
Changed onFetch one approval: what it runs (title, details, and for an API call the frozen request), and its result or error once resolved.
get/approvals/{id}
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id, string required
Approval id (apr_...)
Response
Success
Approval required
object, 'approval' required
id, string required
approval_id, string required
status, 'draft' | 'pending_approval' | 'approved' | 'executed' | 'failed' | 'denied' required
pending_approval waits for a person. It ends executed (see result), failed (see error) or denied (see reason).
kind, 'pipedream' | 'composio' | 'rest' | 'mcp' | 'native' | 'saved_tool' | 'site' | 'vault' | 'elicitation' required
action_type, string nullable required
title, string nullable required
details, object[] required
What runs, as {label, value} pairs: recipients, subject, amounts and the other arguments a person checks.
request, object nullable required
An API call's frozen request, {http_method, path, params}, with secrets masked. Null for other kinds.
app_slug, string nullable required
tool_name, string nullable required
result, object nullable required
error, string nullable required
reason, string nullable required
chat_id, string nullable required
created_at, string required
resolved_at, string nullable required
Changes
- info
added the required property
detailsto the response with the status - info
added the required property
requestto the response with the status
- info
- warning
added the new
siteenum value to thekindresponse property for the response status
- warning