# API reference


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


Canonical URL: https://www.copyhero.app/help/api-reference

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 [#prerequisites]

You have an API key. See [Connect your own tools with an API key](/help/integrations/api-keys) to create one.

## Call the API [#call-the-api]

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

```bash
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 [#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.

## Related guides [#related-guides]

- [Connect your own tools with an API key](/help/integrations/api-keys)
- [Configure outbound webhooks](/help/integrations/outbound-webhooks)
- [Connect an AI assistant (MCP)](/help/integrations/mcp)