Quickstart

From zero to your first API call in three steps.

1. Create an API key

Open Developers → API keys and create a key. It's shown exactly once — copy it immediately, because you can't view it again.

2. Keep the token safe

Store the key as a secret in your environment (for example APOLLO_API_KEY). Never commit it or ship it to a browser — the API is meant to be called from your backend.

3. Call a capability

Every capability is a POST with a JSON body. Here's a read that lists your campaigns:

curl -s -X POST "https://api.apollosender.xyz/v1/listCampaigns" \
  -H "Authorization: Bearer $APOLLO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

A successful call wraps its payload as { ok: true, data }. From here, browse the endpoint reference or read about authentication.