cURL
curl --request POST \ --url https://api.raul.ugps.io/api/v1/consumption/emnify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "phone_numbers": [ "423663922670587", "423663922670588" ], "start_date": "2025-01-01T00:00:00Z", "end_date": "2025-01-31T23:59:59Z" } '
{ "data": [ { "phone_number": "<string>", "consumption_mb": 123, "period": { "start": "<string>", "end": "<string>" }, "endpoint_id": {}, "sim_id": {}, "not_found": true } ], "total_count": 123, "successful_count": 123, "failed_count": 123 }
Get data consumption from Emnify API for multiple phone numbers.
This endpoint acts as a secure backend proxy to the Emnify API, keeping API tokens safe and allowing for rate limiting and caching.
Notes:
Bearer token authentication
List of phone numbers (MSISDN) to query
["423663922670587", "423663922670588"]
Start date in ISO 8601 format
"2025-01-01T00:00:00Z"
End date in ISO 8601 format
"2025-01-31T23:59:59Z"
Show child attributes