Skip to content

How many people signed up

GET/v1/organization/{orgId}/marketing/audience/summary

US Region: https://public-api.sessionboard.com · EU Region: https://public-api-eu.sessionboard.com

Sign-ups in the last days (default 7): total, by_status, by_source and message, one plain sentence. Requires read:marketing. Also at GET /v1/marketing/audience/summary.

Request example

Terminal window
curl --request GET \
--url 'https://public-api.sessionboard.com/v1/organization/{orgId}/marketing/audience/summary' \
--header 'x-access-token: <api-token>'

Try it

Authorization

Your token stays in this page. It is sent only to the region above and is never saved; it is gone when you leave or reload the page.

Path parameters
Query parameters
GET

Authorizations

  • x-access-tokenstringheader

    Organization API token. Generate from Organization Settings → API Tokens.

  • AuthorizationBearer <token>headeror

    OAuth 2.1 access token. Obtained via the OAuth PKCE flow at /oauth/token.

Send one of these. See Authentication.

Path parameters

  • orgIdstringpathrequired

    Your organization ID. Any other organization returns 404.

Query parameters

  • daysintegerquery
    Minimum
    1
    Maximum
    365
  • listKeystringquery

Responses

200

payload.total, payload.by_status, payload.by_source, payload.message

403

  • SCOPE_REQUIRED — the token lacks read:marketing (reads) or write:marketing (writes).
  • ORG_WIDE_TOKEN_REQUIRED — the token is restricted to particular events; this operation reads the whole organization.
  • FORBIDDEN — the organization's plan does not include Marketing, or the token's user cannot change goals (writes need an organization admin or the organization settings permission).