cURL
curl --request GET \ --url https://api.tryhamsa.com/v1/projects/by-api-key \ --header 'Authorization: <api-key>'
{ "success": false, "message": "success", "data": { "id": "<string>", "name": "<string>", "deletedAt": "2023-11-07T05:31:56Z", "deletedBy": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updteAt": "2023-11-07T05:31:56Z" } }
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