Intents
Create policy rule intent
Create an intent to add a rule to a policy. The intent must be authorized by the policy owner before it can be executed.
post/v1/intents/policies/{policy_id}/rules
Path parameters
policy_idstring required
ID of the policy.
Headers
privy-app-idstring required
ID of your Privy app.
privy-request-expirystring
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
Request body
Example request
{
"conditions": [
{
"field": "content"
}
]
}Response
Created rule intent.