Get API Keys
Users can access a list of their all existing API keys by sending a request to this endpoint. This feature allows them to manage and monitor the API keys associated with their account.
GET/api/api-keys
GET https://api.amlwatcher.com/api/api-keys HTTP/1.1Host: api.amlwatcher.comAuthorization: Bearer Token
Response
Parameters | Description |
---|---|
error | Whenever there is an error in your request, this param will have details of that error; otherwise it’ll remain empty. |
status | The status field is set to either “SUCCESS” or “FAIL”, indicating that the API request resulted in a successful or failure/error condition respectively. |
data | An array containing the actual response elements. |
Sample Response
{
"data": {
"api_keys": [
{
"created_at": "Wed, 04 Oct 2023 09:31:44 GMT",
"expires_at": "Fri, 10 Sep 2123 09:31:44 GMT",
"key": "sr-4d634862658df53e618b486924d634862658df53e618b48692"
},
{
"created_at": "Wed, 04 Oct 2023 09:31:58 GMT",
"expires_at": "Thu, 05 Oct 2023 09:31:58 GMT",
"key": "sr-4d634862658df53e618b486924d634862658df53e618b48692"
},
{
"created_at": "Mon, 09 Oct 2023 15:05:53 GMT",
"expires_at": "Wed, 11 Oct 2023 15:05:53 GMT",
"key": "sr-4d634862658df53e618b486924d634862658df53e618b48692"
}
]
},
"error": false,
"status": "SUCCESS"
}