Intents
Authorize intent
Authorize a pending intent by providing a signature. Can be called by the wallet owner (via user token) or with the app secret.
post/v1/intents/{intent_id}/authorize
Path parameters
intent_idstring required
ID of the intent.
Headers
privy-app-idstring required
ID of your Privy app.
Request body
Response
Authorized intent.
Example response
{
"authorization_details": [
{
"display_name": "Admin Key Quorum",
"members": [
{
"signed_at": null,
"type": "user",
"user_id": "did:privy:clabcd123"
}
],
"threshold": 1
}
],
"created_at": 1741834854578,
"created_by_display_name": "developer@example.com",
"created_by_id": "did:privy:clabcd123",
"custom_expiry": false,
"expires_at": 1741921254578,
"intent_id": "clpq1234567890abcdefghij",
"intent_type": "RPC",
"request_details": {
"body": {
"caip2": "eip155:8453",
"chain_type": "ethereum",
"method": "eth_sendTransaction",
"params": {
"transaction": {
"to": "0x0000000000000000000000000000000000000000",
"value": 1
}
}
},
"method": "POST",
"url": "https://api.privy.io/v1/wallets/xs76o3pi0v5syd62ui1wmijw/rpc"
},
"resource_id": "xs76o3pi0v5syd62ui1wmijw",
"status": "pending"
}