Frontline Audiences API

Create and manage campaign audiences

Operations 23

GET /public/v1/audience-drafts List audience drafts owned by the API user #
POST /public/v1/audience-drafts Create an audience draft #
GET /public/v1/audience-drafts/{audienceId} Get an audience draft #
PATCH /public/v1/audience-drafts/{audienceId} Update an audience draft #
DELETE /public/v1/audience-drafts/{audienceId} Discard an audience draft #
POST /public/v1/audience-drafts/{audienceId}/import-batches Create a streaming CSV import batch #
GET /public/v1/audiences/{audienceId}/imports/{importId}/errors Download rejected audience import rows #
PUT /public/v1/audience-drafts/{audienceId}/import-batches/{batchId}/imports/{importId}/file Stream one CSV file into a private import #
POST /public/v1/audience-drafts/{audienceId}/import-batches/{batchId}/confirm Confirm and enqueue an uploaded audience import batch #
GET /public/v1/audience-drafts/{audienceId}/import-batches/{batchId} Get an audience draft import batch #
DELETE /public/v1/audience-drafts/{audienceId}/import-batches/{batchId} Delete a stopped audience draft import batch #
POST /public/v1/audience-drafts/{audienceId}/import-batches/{batchId}/retry Retry a failed audience draft import batch #
POST /public/v1/audience-drafts/{audienceId}/publish Publish an audience draft #
GET /public/v1/audiences List audiences #
POST /public/v1/audiences Create an audience #
GET /public/v1/audiences/{audienceId} Get an audience #
PATCH /public/v1/audiences/{audienceId} Update an audience #
DELETE /public/v1/audiences/{audienceId} Archive an audience #
GET /public/v1/audiences/{audienceId}/preview Preview audience members #
GET /public/v1/audiences/{audienceId}/history List audience edit history #
POST /public/v1/audiences/{audienceId}/import Import CSV rows into an audience #
GET /public/v1/audiences/{audienceId}/imports/{importId} Get audience import status #
POST /public/v1/audiences/{audienceId}/exports Download an audience export #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/frontline:frontline-audiences-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

frontline-audiences-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Public Audiences API
  version: 1.0.0
  description: 'Public API for accessing agents, flows, and analytics.


    ## Authentication


    The Public API supports two API key types. Pass the key as a Bearer token:


    ```

    Authorization: Bearer

    ```


    ### Account API key (GENERAL)


    Account-level key that acts on behalf of the entire account. Required for account-level endpoints unless noted otherwise.


    ### User API key (USER)


    User-level key tied to a specific user. Required for write operations and user-owned resources. **Also accepted on all account-level endpoints.**


    Each operation documents which key type(s) it accepts in its **Security** section.'
  license:
    name: Proprietary
    url: https://www.getfrontline.ai/terms-and-conditions
servers:
- url: https://prod-api.getfrontline.ai
tags:


# --- truncated at 32 KB (58 KB total) ---
# Full source: https://artifacts.apis.io/frontline/openapi/frontline-audiences-api-openapi.yml