cURL
curl --request GET \ --url https://api.tryhamsa.com/v1/projects/statistics/numbers \ --header 'Authorization: <api-key>'
{ "success": false, "message": "success", "data": { "tokens": { "value": 123, "unit": "<string>" }, "transcription": { "value": 123, "unit": "<string>" }, "price": { "value": 123, "unit": "<string>" }, "requests": { "value": "<string>", "unit": "<string>" } } }
Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token <api-key>'
Successful response
The response is of type object.
object