curl --request POST \
--url https://api.getovra.com/intents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentId": "<string>",
"purpose": "<string>",
"expectedAmount": 1,
"expectedAmountEuros": 1,
"expectedMerchant": "<string>",
"clientIntentId": "<string>",
"ttlMinutes": 21600,
"recurring": {
"cadence": "daily",
"windowStartDaysBefore": 3,
"windowEndDaysAfter": 2,
"amountTolerancePercent": 10,
"merchantMatch": true
}
}
'{
"id": "<string>",
"agentId": "<string>",
"purpose": "<string>",
"expectedAmountEuros": 123,
"expectedMerchant": "<string>",
"status": "approved",
"recurring": {},
"expiresAt": "2023-11-07T05:31:56Z",
"cardId": "<string>",
"policyCheck": {
"allowed": true,
"requiresApproval": true,
"reason": "<string>"
},
"clientIntentId": "<string>",
"approvedBy": "<string>",
"approvedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}curl --request POST \
--url https://api.getovra.com/intents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentId": "<string>",
"purpose": "<string>",
"expectedAmount": 1,
"expectedAmountEuros": 1,
"expectedMerchant": "<string>",
"clientIntentId": "<string>",
"ttlMinutes": 21600,
"recurring": {
"cadence": "daily",
"windowStartDaysBefore": 3,
"windowEndDaysAfter": 2,
"amountTolerancePercent": 10,
"merchantMatch": true
}
}
'{
"id": "<string>",
"agentId": "<string>",
"purpose": "<string>",
"expectedAmountEuros": 123,
"expectedMerchant": "<string>",
"status": "approved",
"recurring": {},
"expiresAt": "2023-11-07T05:31:56Z",
"cardId": "<string>",
"policyCheck": {
"allowed": true,
"requiresApproval": true,
"reason": "<string>"
},
"clientIntentId": "<string>",
"approvedBy": "<string>",
"approvedAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}API key (sk_...) or Agent token (at_...)
Unique key for idempotent request handling
11x >= 0x >= 0Client-generated idempotency key for intent deduplication
64Time-to-live in minutes (max 30 days). Default 1440 (24h).
1 <= x <= 43200Show child attributes
Intent created with policy evaluation result
approved, pending_approval, failed, denied, cancelled, completed, expired Show child attributes