Managing API Keys

API key is used to authenticate requests and essential to use APIs through Prompt API. Learn how to manage your API keys and authentication.

API keys are the essential authentication mechanism to use an API in Prompt API. The API key should be sent as a header called apikey.

You can manage your API key on Account Page.

Getting your API key

API key can be found in Account Page under the "Your API Key" section.

prompt-api-account-page

Generating a new API key

From the same page you can generate a new API key, please note that this action will revoke the previous API key.

prompt-api-account-page

Revoking an API key

To revoke an API key by clicking the "Generate New API Key" button.

prompt-api-account-page

Was this article helpful?

See also