CopyHero

API reference

Every CopyHero API operation an organization API key may call, with parameters, request bodies, responses, and code examples.

This reference lists every operation an organization API key may call. Each operation page shows its parameters, request body, responses, and a code example in several languages.

Prerequisites

You have an API key. See Connect your own tools with an API key to create one.

Call the API

Send requests to https://app.copyhero.app with the key as a bearer token:

curl https://app.copyhero.app/api/v1/users/me \
  -H "Authorization: Bearer ak_..."

Call the API from server-side code only, and never put the key in code that runs in a browser.

Machine-readable reference

The same operations are available as an OpenAPI document, for example to give to an AI assistant or a client generator:

https://app.copyhero.app/api/v1/api-keys/openapi.json

Any operation not in this reference answers 401 to an API key.