Run pulls, pushes and CDR resends on many roaming connections

Starts up to 100 actions in one request, each on its own connection. Partial success: every item answers on its own, accepted with its runId or failed with the reason it was refused (cooldown, wrong direction, a run already in progress, flag off). An item on a connection of another operator fails the whole request with 404, and nothing starts.

Required scope: roaming-actions:write. It must be granted by name; all does not include it.
Organization authorization: supported

One run per connection, action and module every 15 minutes, counting the Hub and this API together: a repeat answers 429 ROAMING_ACTION_RATE_LIMITED with context.retryInSeconds and context.connectionId. A second run while one is running answers 409 ROAMING_RUN_IN_PROGRESS with context.runId. Clients may send an Idempotency-Key header; it is accepted and not yet enforced.

The endpoints are opened per operator of the API key, so a key of an operator they are not enabled for gets 403; once open, the key reaches every operator it may select with operatorId. A connection of another operator answers 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
int64 | null

The ID of the operator that owns the connection. If omitted, it is derived from the credentials. Consumers with access to multiple operators must specify it explicitly.

Body Params
items
array of objects
required
length between 1 and 100

The actions to run, 1 to 100.

items*
string
required
length between 1 and 64

The connection to act on.

string
enum
required
length ≥ 1
pull|push|resend-cdrs

What to do: pull, push or resend-cdrs.

Allowed:
string | null
enum
locations|tariffs

For pull and push: locations or tariffs.

Allowed:
string | null
\d{4}-\d{2}-\d{2}

For resend-cdrs: first day of the period (yyyy-MM-dd).

string | null
\d{4}-\d{2}-\d{2}

For resend-cdrs: last day of the period (yyyy-MM-dd).

Headers
string

Opaque client-supplied key used for safe retries. Accepted today; behavior not yet enforced.

Responses

400

No items, more than 100, or an item that is malformed

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json