cURL
curl --request POST \ --url https://public-api-v2.bags.fm/api/v1/agent/dev/keys \ --header 'Content-Type: application/json' \ --data ' { "token": "<string>" } '
{ "success": true, "response": [ { "status": "active", "userId": "<string>", "name": "<string>", "keyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "key": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "lastUsedAt": "2023-11-07T05:31:56Z" } ] }
Retrieves all active API keys associated with the authenticated agent. These keys can be used to access the Bags Public API and SDK.
JWT token from login
Successfully retrieved API keys
true
Array of API keys associated with the authenticated agent
Show child attributes