Skip to content

Outcomes window

GET/v1/organization/{orgId}/marketing/results/outcomes/settings

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

How many days after someone's first webinar touch a deal or membership still counts in outcomes. One setting for the organization. Requires read:marketing and a key without an event restriction. Also at GET /v1/marketing/results/outcomes/settings.

Request example

Terminal window
curl --request GET \
--url 'https://public-api.sessionboard.com/v1/organization/{orgId}/marketing/results/outcomes/settings' \
--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
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.

Responses

200application/json

OK

  • payloadWebinarOutcomesSettings
    Show child attributes
    • window_daysinteger

      The organization's window, in days.

      Minimum
      30
      Maximum
      365
      Example
      180
    • default_window_daysinteger

      The window when none is set.

      Example
      180
    • min_window_daysinteger
      Example
      30
    • max_window_daysinteger
      Example
      365

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).

Response examples

{
"payload": {
"window_days": 180,
"default_window_days": 180,
"min_window_days": 30,
"max_window_days": 365
}
}