A pending intent can be rejected to cancel it before it is authorized and executed. Rejecting is useful when an intent was proposed in error or is no longer needed.
Reject an intent
To cancel a pending intent, use the reject endpoint:
POST https://api.privy.io/v1/intents/{intent_id}/reject
The endpoint can be called with your app secret or with the intent creator’s user token, and takes no request body.Rejecting an intent moves it to the Rejected status. Rejected intents cannot be authorized or executed in the future.
Only a pending intent can be rejected. An intent that is already in a terminal or Processing
state cannot be rejected.
API reference
Reject intent
View the full API reference for rejecting an intent.
Next steps
Authorize intent
Authorize a pending intent so Privy can execute it.
Intent status
Track an intent from proposal to execution.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.