Get the agent budgets
Retrieve every budget currently configured for the agent. An empty budgets array means no cap is set and usage is unlimited.
get
Authorizations
D360-API-KEYstringRequired
API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.
Path parameters
entity_idintegerRequired
The ID of the entity that owns the agent - the Business Manager ID
Header parameters
X-API-Versionstring · enumOptionalPossible values:
Meta Business Agent API version
Responses
200
The budgets currently configured for the agent
application/json
The budgets configured for the agent
400
Bad request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not found
application/json
429
Too many requests
application/json
500
Server error
application/json
get/agent_budget/{entity_id}
GET /agent_budget/{entity_id} HTTP/1.1
Host: waba-v2.360dialog.io
D360-API-KEY: YOUR_API_KEY
Accept: */*
{
"budgets": [
{
"budget_id": "1234567890",
"max_budget": 100000,
"time_window": "seven_days",
"unit_type": "token"
}
]
}Last updated
Was this helpful?