Two Minute Reports Logo
Clients

Assign client account

Assign a connector account to a client.
POST /teams/{teamId}/clients/{clientId}/accounts/{connectorId}/{accountId}

Assigns a connector account to the client. The account ID is provider-defined, and you send it as it is in the path.

The key holder's role must include Map accounts to clients (Owner, Admin, Deputy Admin and Data Manager include it), and the key holder must have a seat in the team. Returns { "added": true } on success.

Authentication: Bearer token · Permission:clients:write · Team permission:client_accounts.write · Rate limit: default (120 / 60s)

Path parameters

teamId
string · uuid v7 required
The team the client belongs to.
clientId
string · uuid v7 required
The ID of the client to assign the account to.
connectorId
string required
The connector the account belongs to (for example gadw or fads).
accountId
string required
The provider-defined account ID. This is not a UUID. It is the ID that the connector uses to identify the account (for example, a Google Ads customer ID or a Meta act_… ID).
A team whose plan has been cancelled cannot make changes. Write requests fail with 402 PAYMENT_REQUIRED until the subscription is reactivated.

Request

curl -X POST https://api.twominutereports.com/v1/teams/0190f8b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f/clients/0190f8c0-1a2b-7c3d-8e4f-5a6b7c8d9e0f/accounts/gadw/1234567890 \
  -H "Authorization: Bearer tmrc_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Response

{
  "success": true,
  "data": { "added": true }
}
Copyright © 2026