Skip to main content
GET
/
v2.0
/
endpoints
/
{endpointId}
/
apikeys
List Endpoint API Keys
curl --request GET \
  --url https://api-trial.cognigy.ai/new/v2.0/endpoints/{endpointId}/apikeys \
  --header 'X-API-Key: <api-key>'
[
  {
    "_id": "<string>",
    "name": "My CRM webhook",
    "keyPreview": "8a4f••••••••7c2e",
    "createdAt": 1694518620
  }
]

Authorizations

X-API-Key
string
header
required

Supply the API Key in the HTTP-Header

Headers

Accept
enum<string>

The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.

Available options:
application/json,
application/hal+json,
application/xml,
text/xml,
text/csv

Path Parameters

endpointId
string
required

The Id of the Endpoint

Required string length: 24
Pattern: ^[a-z0-9]{24}$

Response

Array of Endpoint API Keys (metadata only).

_id
string
Required string length: 24
Pattern: ^[a-z0-9]{24}$
name
string

Customer-provided display name for the key.

Example:

"My CRM webhook"

keyPreview
string

Masked preview of the plaintext key (first 4 chars + masked middle + last 4 chars). Captured at generation time.

Example:

"8a4f••••••••7c2e"

createdAt
integer

Unix-timestamp

Required range: 0 <= x <= 2147483647
Example:

1694518620

Last modified on June 23, 2026