Authentication

Authentication Header

All API routes should be accessed at https://api.copy.ai/api/ and require the x-copy-ai-api-key header field.

x-copy-ai-api-key <api key goes here>

How to Create an API Key

  1. Log into your Copy.ai account.
  2. Click on Configuration in the left sidebar.
  3. Click on the API Keys card.
  4. Click the Create button in the top right of the page.
  5. Provide a Key Name, User, and an optional Expiry Date.
  1. Click ** Create**.
  2. Copy your API Key value. You will use this value for the x-copy-ai-api-key HTTP header when making API calls. Note you will not be able to view this again.