Permissions (ERC-7715)
All endpoints require authentication.
| Method | Path | Body |
|---|---|---|
POST | /api/permissions | { jobId, permissions_context, delegation_manager, token_address, amount, chain_id, ... } |
GET | /api/permissions/:jobId | — |
POST | /api/permissions/redeem | { milestoneId, via: "direct" | "relayer" } |
Store Permission
When a brand selects a creator, they sign one spending permission and the permissionsContext is stored against the job.
Redeem Permission
The agent redeems the stored permission to transfer USDC to the creator:
via: "direct"— EOA redeem with ETH gasvia: "relayer"— 1Shot relay with USDC gas (mainnet only)
Last updated on