Skip to main content
POST
/
v1
/
organizations
/
{organization_id}
/
workspaces
/
{workspace_id}
/
platform_integrations
/
{id}
/
campaigns
List platform integration campaigns for a given account
curl --request POST \
  --url https://api.shareofmodel.ai/v1/organizations/{organization_id}/workspaces/{workspace_id}/platform_integrations/{id}/campaigns \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "<string>"
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "platform": "<string>",
    "account_id": "<string>",
    "campaign_id": "<string>",
    "platform_integration_id": "<string>",
    "details": {}
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.shareofmodel.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Path Parameters

id
string<uuid>
required

A UUID string identifying this platform integration.

organization_id
string<uuid>
required

A UUID string identifying the organization.

workspace_id
string<uuid>
required

A UUID string identifying the workspace.

Body

application/json
account_id
string
required

The ID of the account.

Response

A list of campaigns associated with the account. For TikTok, each campaign includes its ad groups in the details field.

id
string
required
name
string
required
platform
string
required
account_id
string
required
campaign_id
string
required
platform_integration_id
string
required

The ID of the platform integration associated with this account.

details
object