Cordial Audiencecount API

The audiencecount API from Cordial — 1 operation(s) for audiencecount.

Operations 1

POST /v2/audiencecount Post audience object to get count #

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/cordial-audiencecount-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

cordial-audiencecount-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Welcome to the Cordial API documentation! This interactive API documentation allows you to test API calls from the Swagger interface. Authenticate yourself with the API key from your Cordial account and then make API calls. Keep in mind that testing in Swagger will directly affect your production data.
  version: 2.0.0
  title: Cordial Audiencecount API
  termsOfService: https://cordial.zendesk.com
servers:
- url: https://api.cordial.io/
tags:
- name: audiencecount
paths:
  /v2/audiencecount:
    post:
      security:
      - basicAuth: []
      summary: Post audience object to get count
      description: Return count of contacts using the appropriate audience JSON body.
      operationId: audiencecount
      tags:
      - audiencecount
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceCountSuccess'
        '422':
          description: validation error
          $ref: '#/components/responses/AudienceCountErrorValidation'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AudienceObject'
        description: Audience object for returning count.
        required: true
components:
  schemas:
    AudienceCountErrorValidation:
      title: Contact error
      required:
      - message
      - errorKey
      - error
      properties:
        error:
          type: boolean
          example: true
        errorKey:
          type: string
          example: INVALID_AUDIENCE_RULES
        message:
          type: object
          example: 'Object with error explanation what happen with payload. Possible errors: [''Timezones should not be empty'',''Timezone source should be either string or geo number provided'', ''Dynamic values is not set'']'
    AudienceObject:
      title: Source
      type: object
      properties: {}
    AudienceCountSuccess:
      title: Source
      type: object
      properties:
        count:
          type: number
          description: Count of contacts
          default: 123
  responses:
    AudienceCountErrorValidation:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AudienceCountErrorValidation'
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic Authentication. Works over HTTPS