Create

Creates a new API key in the workspace.

Authentication

AuthorizationBearer
Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).

Request

This endpoint expects an object.
namestringRequired
A name to identify the API key.

Response

API key created
idstring
The API key ID.
namestring
The name of the API key.
api_keystring
The API key secret. Only returned once, when the key is created or rotated.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error