# Reference overview

Base URL, authentication, and rules that apply to every endpoint.

The Wefluence API is REST and answers in JSON. Every endpoint only reads data.

```text
https://api.wefluence.app/v1
```
## Endpoints

| Method | Path | Scope |
| --- | --- | --- |
| GET | [/v1/me](https://docs.wefluence.app/en/reference/account/) | Any |
| GET | [/v1/campaigns](https://docs.wefluence.app/en/reference/campaigns/) | `campaigns:read` |
| GET | [/v1/campaigns/{id}](https://docs.wefluence.app/en/reference/campaigns/) | `campaigns:read` |
| GET | [/v1/campaigns/{id}/stats](https://docs.wefluence.app/en/reference/campaign-stats/) | `campaigns:read` |
| GET | [/v1/campaigns/{id}/content](https://docs.wefluence.app/en/reference/content/) | `content:read` |
| GET | [/v1/campaigns/{id}/top-content](https://docs.wefluence.app/en/reference/content/) | `content:read` |
| GET | [/v1/campaigns/{id}/creators](https://docs.wefluence.app/en/reference/creators/) | `content:read` |
| GET | [/v1/campaigns/{id}/report](https://docs.wefluence.app/en/reference/reports/) | `content:read` |
| GET | [/v1/reports/{token}](https://docs.wefluence.app/en/reference/reports/) | No key |
| GET | [/v1/invoices](https://docs.wefluence.app/en/reference/invoices/) | `finance:read` |

## General rules

- Money is always whole Indonesian rupiah (IDR), times are always UTC in ISO 8601.
- Data that is not available is `null`, not 0.
- Data belonging to another account returns `404`, the same as an ID that does not exist.
- Lists use [cursors](https://docs.wefluence.app/en/pagination/) and are subject to [rate limits](https://docs.wefluence.app/en/rate-limits/).

The full contract is in [openapi.yaml](https://docs.wefluence.app/openapi.yaml) (also as [openapi.json](https://docs.wefluence.app/openapi.json)), which opens directly in Postman or similar tools.
