Skip to main content
POST
aid_mgmnt_tasks_post

Authorizations

Authorization
string
header
required

Bearer authentication (token authentication) should be used for accessing the API.

Use Get Token to get an access token for client credentials. Pass the token in the request header:

where the access_token is JSON Web Tokens (JWT).

Path Parameters

oid
string<^[PT]{1}(?=(?:.{3}|.{8})$)[0-9]*$>
required

An id that uniquely identifies the account or owner (partner)

Query Parameters

force
boolean
default:false

Body

application/json
type
string
required
Example:

"payout_destination_backfill"

account_ids
string[]

The accounts to run the task for. Required unless all_accounts is true. Cannot be combined with all_accounts set to true.

Required array length: 1 - 100 elements
Required string length: 9
Pattern: ^[PT]{1}\d{8}$
Example:
all_accounts
boolean
default:false

Set to true to run the task for all accounts that the task type applies to. Cannot be combined with account_ids. A task type that does not support all accounts returns 400.

Response

Collection of administrative tasks

tasks
object[]
required
starting_after
string
Pattern: ^[PT]{1}\d{8}\.task\.[A-X1-9]{7,}$
Example:

"T55500000.task.JR97L9E"