Skip to main content
POST
/
delegations
Create a delegation (per-token spend cap)
curl --request POST \
  --url https://api.getovra.com/delegations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agentId": "<string>",
  "maxAmountEuros": 123,
  "expiresInMinutes": 2,
  "merchant": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.getovra.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key (sk_sandbox_* / sk_test_* / sk_live_*) or Agent token (at_* / at_dlg_*)

Body

application/json
agentId
string
required
maxAmountEuros
number
required
Required range: x <= 100000
expiresInMinutes
integer
Required range: x >= 1
merchant
string

Response

Delegation created