API keys

List API keys

Lists credential metadata. Secret key values are never returned after creation. Requires the keys:read scope when called with a scoped key.

GET/v1/keys

Lists credential metadata. Secret key values are never returned after creation. Requires the keys:read scope when called with a scoped key.

AuthorizationBearer <token>

Pass Authorization: Bearer mapleads_xxx.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/keys"
{  "keys": [    {      "id": "string",      "name": "string",      "prefix": "string",      "start": "string",      "enabled": true,      "scopes": [        "string"      ],      "createdAt": "2019-08-24T14:15:22Z",      "expiresAt": "2019-08-24T14:15:22Z",      "lastRequest": "2019-08-24T14:15:22Z"    }  ]}