Account Management

Updated 

1. Add Account

FB_AD_ACCOUNT, FBPAGE,

LINKEDIN_AD_ACCOUNT,

LINKEDIN_COMPANY,

TWITTER_AD_ACCOUNT,

TWITTER,

TIKTOK_AD_ACCOUNT

GET /paid/governance/get/authorizedUrl

Returns an authorized URL for account addition, based on provided organization, team, and user context. This endpoint is part of the Paid Governance API.

Query Parameters

Name

Type

Required

Description

organizationId

String

Yes

Unique ID of the organization

teamId

String

Yes

Unique ID of the team

accountType

String

Yes


userEmail

String

Yes

Email of the requesting user

GET /get/authorizedUrl?organizationId=123&teamId=456&userEmail=user@example.com

Open Returned Url In Browser and Do Native Authenctication

2. Attach an Ad Account to a team.

POST /paid/governance/attach/adAccount

Query Parameters

Name

Type

Required

Description

teamId

String

Yes

Team to which account is attached

accountId

Long

Yes

Ad account to be attached

Response

true or false (plain text)


3. Remove an Ad Account from a team.

POST /paid/governance/remove/adAccount

Query Parameters

Name

Type

Required

Description

teamId

String

Yes

Team from which account is removed

accountId

Long

Yes

Ad account to be removed

Response

true or false (plain text)


4. Attach an Page Account to a team.

POST /paid/governance/attach/pageAccount

Query Parameters

Name

Type

Required

Description

teamId

String

Yes

Team to which account is attached

accountId

Long

Yes

Page account to be attached

Response

true or false (plain text)


4. Remove Page Account from a team.

🔗 POST /paid/governance/remove/pageAccount

Query Parameters

Name

Type

Required

Description

teamId

String

Yes

Team from which account is removed

accountId

Long

Yes

Page account to be removed

Response

true or false (plain text)