Campaign API Scripts
Obtain an access token for API authentication
Client ID
API Key
Type of request
API version header
Access token generated successfully
Authentication failed - apiKey expired
Creates and publishes a new campaign using Flow plans and listings
JWT token obtained from the access key endpoint
ClientId
API version header
Reference to the Flow media package/plan
facebookv2External reference for the agent/user responsible for the listing
12585873Array of external listing IDs
["655466e38ecec61bd4639c8b"]Flow external branch ID associated with the specific branch
64491ba8e9d1335b06252be4Start date for the campaign (must be in the future)
2025-06-08T09:00:00ZEnd date for the campaign (must be after startDate)
2025-06-15T09:00:00ZCustom budget if different from the plan default
2928Optional identifier for the originating partner/platform
Order-001If true, validates the payload and returns expected results without publishing
falseCampaign successfully queued
Bad request
Unauthorized - Invalid access token
Forbidden - JWT expired
Resource not found
Too many requests
Internal server error
Retrieves the current status of a campaign
JWT token obtained from the access key endpoint
Tracking ID of the campaign
API version header
Campaign status retrieved successfully
Bad request
Unauthorized
Campaign not found
Too many requests
Internal server error
Updates the status of an existing campaign
JWT token obtained from the access key endpoint
Tracking ID of the campaign
API version header
pausedPossible values: Client cancelled campaign.Campaign status updated successfully
Bad request
Unauthorized
Campaign not found
Too many requests
Internal server error
Last updated