Retrieve an API key
Retrieves the information for an existing API key, including its value.
Path parameters
api-key-id
API key's ID (starts with "api_")
Headers
Authorization
Bearer authentication of the form `Bearer <token>`, where token is your auth token.
Key-Inflection
Determines casing for the API response.
Allowed values:
Idempotency-Key
Ensures the request is idempotent.
Persona-Version
Allowed values:
Query parameters
include
A comma-separated list of relationship paths. This can be used to customize which related resources will be fully serialized in the `included` key in the response. See [Serialization](https://docs.withpersona.com/serialization#inclusion-of-related-resources) for more details.
fields
Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response. See [Serialization](https://docs.withpersona.com/serialization#sparse-fieldsets) for more details.
Response
This endpoint returns an API key object.
data
An API Key resource
included
Excluded from the response by default. Will be an empty array when the `include` query parameter in the request was explicitly set to empty.