# Orbito Ads API — overview and quickstart

[Orbito Ads · English · HTML](https://orbitoads.pro/docs/api/)

Sources checked · 2026-11-27

### Browse documentation



[All documentation](/docs/) 
Get started

- [API quickstart](/docs/api/)
- [Keys and cabinet permissions](/docs/api/authentication/)
- [Using the API reference with an assistant](/docs/api/ai-assistants/)

Concepts

- [Reading API errors](/docs/api/errors/)
- [Request and event limits](/docs/api/rate-limits/)
- [Retrying a single operation](/docs/api/idempotency/)
- [Tracking a queued operation](/docs/api/tasks/)
- [Stepping through campaign pages](/docs/api/pagination/)

API reference

- [Accessible advertising accounts](/docs/api/accounts/)
- [Looking up a campaign](/docs/api/campaigns/)
- [Creating campaigns and media](/docs/api/create-campaigns/)
- [Changing existing campaigns](/docs/api/manage-campaigns/)
- [Campaign and account statistics](/docs/api/stats/)
- [Targeting dictionaries and groups](/docs/api/targeting/)

Integrations

- [Receiving campaign events](/docs/api/webhooks/)
- [Sending confirmed conversions](/docs/api/conversions/)
- [API versions and changes](/docs/api/changelog/)

Machine-readable

- [OpenAPI · YAML](/docs/api/openapi.yaml)
- [OpenAPI · JSON](/docs/api/openapi.json)
- [llms.txt](/en/docs/llms.txt)
- [llms-full.txt](/en/docs/llms-full.txt)



[All documentation](/docs/) 
Get started

- [API quickstart](/docs/api/)
- [Keys and cabinet permissions](/docs/api/authentication/)
- [Using the API reference with an assistant](/docs/api/ai-assistants/)

Concepts

- [Reading API errors](/docs/api/errors/)
- [Request and event limits](/docs/api/rate-limits/)
- [Retrying a single operation](/docs/api/idempotency/)
- [Tracking a queued operation](/docs/api/tasks/)
- [Stepping through campaign pages](/docs/api/pagination/)

API reference

- [Accessible advertising accounts](/docs/api/accounts/)
- [Looking up a campaign](/docs/api/campaigns/)
- [Creating campaigns and media](/docs/api/create-campaigns/)
- [Changing existing campaigns](/docs/api/manage-campaigns/)
- [Campaign and account statistics](/docs/api/stats/)
- [Targeting dictionaries and groups](/docs/api/targeting/)

Integrations

- [Receiving campaign events](/docs/api/webhooks/)
- [Sending confirmed conversions](/docs/api/conversions/)
- [API versions and changes](/docs/api/changelog/)

Machine-readable

- [OpenAPI · YAML](/docs/api/openapi.yaml)
- [OpenAPI · JSON](/docs/api/openapi.json)
- [llms.txt](/en/docs/llms.txt)
- [llms-full.txt](/en/docs/llms-full.txt)



[Orbito Ads](/en/) [Documentation](/docs/) API



Use a server-side key to read the account list. Select one account and request its campaigns. For a first write, create a paused draft with a fresh idempotency key and follow the returned task identifier.


[Markdown](/docs/api.md)



The Orbito Ads API gives your code the same control over your Telegram Ads cabinets that you have in the Orbito Ads panel. One key, one base URL, the same calls for Euro, TON and Stars cabinets.


| You want to… | Use |
| --- | --- |
| Pull campaigns and stats into a dashboard or BI | [Campaigns](/docs/api/campaigns/), [Stats](/docs/api/stats/) |
| Launch campaigns from a script, a bot or your CRM | [Create campaigns](/docs/api/create-campaigns/) |
| Raise bids, pause losers, top up winners automatically | [Manage campaigns](/docs/api/manage-campaigns/) |
| Know the moment a campaign is approved, declined or runs out of budget | [Webhooks](/docs/api/webhooks/) |
| Count leads and sales from your tracker against each campaign | [Conversions](/docs/api/conversions/) |



## Base URL

Example

```
https://orbitoads.pro/api/v1
```


Every request carries your key in the `X-API-Key` header. Request and response bodies are JSON. All times are UTC.



## Quickstart



### 1. Create a key



In the panel open **API & Webhooks**  → **+ New key**  (Pro and Agency plans). Choose which cabinets the key reaches. To create and change campaigns, tick **Allow managing campaigns**  — without it the key only reads. Copy the key: it is shown once.


Example

```
export ORBITO_API_KEY="orb_…"
```


### 2. List the cabinets the key sees


Example

```
curl -s https://orbitoads.pro/api/v1/account/info \
  -H "X-API-Key: $ORBITO_API_KEY"
```

Example

```
{
  "success": true,
  "data": [
    {
      "id": 53,
      "name": "Main cabinet",
      "cabinet_type": "euro",
      "is_active": true,
      "access_level": "owner",
      "currency": "EUR",
      "balance": "250.00",
      "balance_updated_at": "2026-10-08T09:40:12.000Z",
      "min_budget": 1,
      "features": { "ad_button": true, "crypto_filters": true }
    }
  ]
}
```


Keep `id` — it is the `account_id` every other call uses. All money in a cabinet is in its `currency`.



### 3. Read campaigns


Example

```
curl -s "https://orbitoads.pro/api/v1/campaigns?account_id=53&status=Active&limit=50" \
  -H "X-API-Key: $ORBITO_API_KEY"
```


### 4. Create a campaign (switched off, so nothing is spent)


Example

```
curl -s -X POST https://orbitoads.pro/api/v1/campaigns \
  -H "X-API-Key: $ORBITO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "account_id": 53,
    "title": "API test",
    "text": "Join the channel for daily market notes",
    "promote_url": "https://t.me/yourchannel",
    "cpm": 1.5,
    "budget": 0,
    "active": false,
    "target_type": "channels",
    "channels": ["@durov"]
  }'
```


Creating talks to Telegram, so it runs in the background. You get `202 Accepted` and a task:


Example

```
{ "success": true, "data": { "id": 81234, "type": "create", "status": "pending", "account_id": 53, "total": 1, "ad_ids": [] } }
```


### 5. Wait for the task


Example

```
curl -s https://orbitoads.pro/api/v1/tasks/81234 -H "X-API-Key: $ORBITO_API_KEY"
```


When `status` is `completed`, `ad_ids` holds the new campaign’s id. Now you can fund it and switch it on:


Example

```
curl -s -X POST https://orbitoads.pro/api/v1/campaigns/90412/budget \
  -H "X-API-Key: $ORBITO_API_KEY" -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{ "account_id": 53, "action": "add", "amount": 5 }'

curl -s -X POST "https://orbitoads.pro/api/v1/campaigns/90412/resume?account_id=53" \
  -H "X-API-Key: $ORBITO_API_KEY"
```


Telegram reviews every new ad before it runs; the campaign’s `status` shows where it is (see [statuses](/docs/api/campaigns/#doc-note-statuses)). A [webhook](/docs/api/webhooks/) tells you the moment it changes.



## Five rules every integration follows



1. **`ad_id` is unique only inside a cabinet.**  Telegram reuses ad ids across cabinets. Store and look up campaigns by the pair `(account_id, ad_id)`, and pass `account_id` whenever a key sees more than one cabinet.
2. **Send an `Idempotency-Key` on create, copy, bulk and budget calls**  — a fresh UUID per operation, the same one when you retry it. A retry then never creates a second campaign or moves money twice. See [Idempotency](/docs/api/idempotency/).
3. **Create, copy and bulk return a task.**  Poll `GET /v1/tasks/{id}` until it finishes. See [Tasks](/docs/api/tasks/).
4. **Money fields are strings**  (`"spent": "3.541000"`) to keep exact decimals. Parse them as decimals before doing arithmetic.
5. **Branch on `code`, show `error`.**  Every error has a stable machine-readable `code` and a human sentence in `error`. See [Errors](/docs/api/errors/).



## Response shape

Example

```
{ "success": true, "data": { … }, "meta": { … } }
{ "success": false, "error": "Human-readable message", "code": "MACHINE_CODE", "request_id": "…" }
```



## Where to go next



- [Keys and access](/docs/api/authentication/) — read-only vs campaign-managing keys, agency teams.
- [Build with Claude and other AI assistants](/docs/api/ai-assistants/) — let a coding agent write the integration.
- [OpenAPI spec](/docs/api/openapi.yaml) — import into Postman, Insomnia or a client generator.



## API reference

The full advertising contract requires a dedicated provider credential for this workspace. Use your Orbito API key for client calls. Account orders, provisioning and external billing are separate workflows.

Example · cURL

```
curl -X GET https://orbitoads.pro/api/v1/account/info \
  -H 'X-API-Key: YOUR_ORBITO_KEY'
```

Example · JSON

```
{
  "success": true,
  "data": [
    {
      "id": 7401,
      "name": "Example language school",
      "cabinet_type": "euro",
      "is_active": true,
      "access_level": "manager",
      "currency": "EUR",
      "balance": "82.50",
      "balance_updated_at": "2026-11-03T12:00:00Z",
      "min_budget": 1,
      "features": {
        "ad_button": true,
        "crypto_filters": false
      }
    }
  ]
}
```



## Implementation notes

## Your first request

Send GET /api/v1/account/info with X-API-Key. Choose an id from data and use it as account_id in the next request. All identifiers and values in the examples are fictional.



## Account and campaign identifiers

Store account_id and ad_id together. Different accounts can contain the same ad_id. Include account_id to select the intended record when a key reaches more than one account.



## Accepted work and completion

Create, copy and bulk requests return HTTP 202 with a task id. Poll GET /api/v1/tasks/{id}, respecting Retry-After. Check failed and errors even when status is completed.



## Operations and fields

GET /api/v1/account/info GET /api/v1/campaigns POST /api/v1/campaigns GET /api/v1/tasks/{id}



- GET /api/v1/account/info
- GET /api/v1/campaigns
- POST /api/v1/campaigns
- GET /api/v1/tasks/{id}



## Request example

GET /api/v1/campaigns?limit=10&cursor= HTTP/1.1 Host: orbitoads.pro X-API-Key: {key}



## Schema fields and limits

This table follows the public v1 contract. Parameter and field names are case-sensitive. For each operation, the HTTP response codes distinguish a successful result, input validation and access checks. The linked specification defines the full request and response shapes.



## Protocol reference

| Method | Route | Parameters | Request content | Response codes |
| --- | --- | --- | --- | --- |
| GET | /api/v1/account/info | — | — | 200, 401, 429 |
| GET | /api/v1/campaigns | account_id, status, title, bot_username, promote_domain, promote_domain_mode, type, limit, cursor, offset, sortBy, sortOrder | — | 200, 400, 401, 404, 429 |
| POST | /api/v1/campaigns | Idempotency-Key | application/json · CreateSingleRequest \| CreateBatchRequest | 202, 400, 401, 403, 404, 409, 422, 429, 503 |
| GET | /api/v1/tasks/{id} | id | — | 200, 400, 401, 404 |


Source · [Data source](https://adsly.pro/docs/api/openapi.yaml)

## Schema fields and limits · API quickstart

| Field | Documented value |
| --- | --- |
| X-API-Key | HTTP header |
| Content-Type | application/json |
| 202 | Location, Retry-After |


Source · [Data source](https://adsly.pro/docs/api/)

## CampaignStatus

| Field | Field type |
| --- | --- |
| CampaignStatus | Active \| In Review \| Declined \| On Hold \| Stopped \| Paused \| Deleted |


Source · [Data source](https://adsly.pro/docs/api/openapi.yaml)



## Related reading

[Developer documentation](/docs/)[Keys and cabinet permissions](/docs/api/authentication/)[Using the API reference with an assistant](/docs/api/ai-assistants/)



Reference revision 2026-10-08



[Previous topic**Developer documentation**](/docs/)[Next topic**Keys and cabinet permissions**](/docs/api/authentication/)

## Sources and data

- [openapi.yaml](https://orbitoads.pro/docs/api/openapi.yaml)
- [openapi.json](https://orbitoads.pro/docs/api/openapi.json)
