Skip to main content

List of keys

Obtaining a list of generated API Keys.

In order to get a list of all API Keys previously generated, you must send a GET request following those settings:

URL

https://api.bembit.com/api/v1/users/credentials

cURL

curl -X 'GET' \
'https://api.bembit.com/api/v1/users/credentials' \
-H 'accept: */*' \
-H 'api: {Your API}' \
-H 'secret: {Your secret}'

Methods

GET

Params

ParamTypeDefault valuesDescription
apistringundefinedAPI Key obtained from the platform.
secretstringundefinedSecret obtained from the platform.
Important

The parameters for this request should be passed to the end-point via headers.

Server responses:

Status 200:

Success

Response Body:

[
{
"key": "{Access key}",
"expiresAt": "{Expiration date}",
"createdAt": "{Creation date}",
"updatedAt": "{Date of update}",
"id": "{Access key ID}"
},
{
"key": "xxxxxx",
"expiresAt": "xxxxxxxxxx",
"createdAt": "xxxxxxxxxx",
"updatedAt": "xxxxxxxxxx",
"id": "xxxxx"
}
]

Status 403:

Unauthorized

See this in action on Swagger.