# CreatorHero API

The CreatorHero API is the HTTP interface for the [CreatorHero](https://www.creatorhero.com/) dashboard. A personal API key calls the same resources the dashboard uses: creators, fans, chats, automations, vault media, tracking, team permissions, and settings.

**Base URL:** `https://backend.creatorhero.com`

Paths begin with `/dashboard/api/` and a version segment: `v1`, `v2`, or `v3`. The version belongs to that resource. Most operations are `v1`. For example, welcome messages and expiring-fan messages are `v3`, and online mass messages and the creator list are `v2`. Call the version written on the operation. There is no version header and no global latest version.

:::info

Send your API key in the `X-API-Key` header on every request. The key is personal and acts with the key owner's current permissions.

:::

## Confirm the key

`GET /dashboard/api/v1/me` returns the user the key acts as, including `userId`, `name`, `email`, `role`, and team fields.

```bash
curl https://backend.creatorhero.com/dashboard/api/v1/me \
  -H "X-API-Key: $CREATORHERO_API_KEY"
```

## Find a creator

Most resources take a `creatorId` path parameter. That id is the CreatorHero `id` from the creator list, not `onlyfansId`.

```bash
curl https://backend.creatorhero.com/dashboard/api/v2/creator/list-creators \
  -H "X-API-Key: $CREATORHERO_API_KEY"
```

The response is an array. Each item includes `id`, `onlyfansId`, `name`, `userName`, and `status`. Pass `id` as `{creatorId}` on later calls.

## Limits

The API allows 50 requests per 60 seconds per user. A request over that limit returns `429`. Details are on [Errors](/errors).

## Read next

- [Authentication](/authentication) — the API key, permissions, and `401` versus `403`
- [Requests](/requests) — JSON, ids, dates, and empty responses
- [Pagination](/pagination) — pages, slices, offsets, and keyset cursors
- [Errors](/errors) — problem responses and status codes
- [API Reference](/api) — every operation

## Reference map

The reference is grouped by tag. These are the tags most integrations start from.

| Area | Tags |
| --- | --- |
| Account | [Me](/api/me-information), [Creators](/api/dashboard-creators-api), [Team](/api/team-api), [Roles](/api/dashboard-role-api), [Permissions](/api/permissions) |
| Messaging | [Chat messages](/api/of-chat-messages), [Welcome messages](/api/welcome-messages), [Expiring fans](/api/expiring-fans-messages), [Online mass messages](/api/online-mass-messages), [Scripts](/api/scripts) |
| Fans | [Fan overview](/api/fan-overview), [Lists](/api/of-lists), [Collections](/api/of-collections) |
| Vault | [Vault](/api/vault), [Chat media](/api/of-chat-medias) |
| Reporting | [Statistics](/api/statistics), [Tracking](/api/tracking-v2), [Accounting](/api/accounting) |
