Forsta Participant Source API

The Participant Source API from Forsta — 1 operation(s) for participant source.

Operations 2

GET /v1.0/app/samplesource Get your app's current participant source configuration #
PATCH /v1.0/app/samplesource Update a vendor's participant source attributes #

Documentation

Specifications

Other Resources

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/forsta-participant-source-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 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

forsta-participant-source-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0-beta
  title: Sample Marketplace Partner Setup Participant Source API
  description: '# Summary


    This document describes the endpoints used to manage vendor configurations

    within the Sample Marketplace.'
servers:
- url: https://eks.us-west-2.fvdev.net/smp-partner-service
  description: Staging Environment
- url: https://us-west-2-eks.aws.focusvision.com/smp-partner-service
  description: Production Environment
tags:
- name: Participant Source
paths:
  /v1.0/app/samplesource:
    get:
      summary: Get your app's current participant source configuration
      tags:
      - Participant Source
      description: This returns your app's current participant source configuration. This consists of all the information required to configure a participant source in a survey, including entry link query parameters and exit link redirects. Overquota participants are participants who enter the survey, but their qualifications are over the set amount required for the survey. Terminated participants are participants who have been forcefully removed from the survey. Qualified participants are those who successfully complete the survey. Upon leaving the survey, based on the resolution of the participant (overquota, qualified, terminated), they will be redirected to the link indicated in this call. If a variable is required in an exit link, first it must be passed in via the entry link variable, and then referenced in the exit link with the following syntax ${variable_name}.
      security:
      - OAuth2: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParticipantSource'
        '401':
          $ref: '#/components/responses/401'
        '500':
          $ref: '#/components/responses/500'
      operationId: getV10AppSamplesource
      x-operation-id-source: derived
    patch:
      summary: Update a vendor's participant source attributes
      tags:
      - Participant Source
      description: This updates your app's current participant source configuration by performing a JSON Merge Patch of your app's current participant source configuration.
      security:
      - OAuth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ParticipantSource'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParticipantSource'
        '401':
          $ref: '#/components/responses/401'
        '500':
          $ref: '#/components/responses/500'
      operationId: patchV10AppSamplesource
      x-operation-id-source: derived
components:
  responses:
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                description: Error code and message
                properties:
                  status:
                    type: string
                    description: HTTP status Code
                    enum:
                    - 401
                  message:
                    type: string
                    example: Unauthorized
                    description: Status message
                    enum:
                    - Unauthorized
    '500':
      description: Internal Server Error
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: object
                description: Error code and message
                properties:
                  status:
                    type: string
                    description: HTTP status Code
                    enum:
                    - 500
                  message:
                    type: string
                    description: Status message
                    enum:
                    - Internal Server Error
  schemas:
    ParticipantSource:
      type: object
      properties:
        exit_links:
          type: object
          description: Your app's exit links for redirecting survey participants
          properties:
            qualified:
              type: string
              format: url
              example: https://focusvision.com/callback?S=1&ID=${ID}
              description: Callback URL for qualified participants
            terminated:
              type: string
              format: url
              example: https://focusvision.com/callback?S=2&ID=${ID}
              description: Callback URL for terminated participants
            overquota:
              type: string
              format: url
              example: https://focusvision.com/callback?S=3&ID=${ID}
              description: Callback URL for overquota participants
        variables:
          type: object
          description: Any query parameters your app uses on survey entry links
          properties:
            unique:
              type: array
              items:
                type: string
              example:
              - ID
              description: Unique query parameter identifier's set on entry links
            required:
              type: array
              items:
                type: string
              example: []
              description: Required query parameter's provided on entry links
            extra:
              type: array
              items:
                type: string
              example: []
              description: Extra query parameter's provided on entry links
  securitySchemes:
    OAuth2:
      type: oauth2
      description: See https://docs.aws.amazon.com/cognito/latest/developerguide/token-endpoint.html
      flows:
        clientCredentials:
          tokenUrl: /oauth2/token/
          scopes: {}
      x-tokenInfoFunc: demo.token_auth
    BasicAuth:
      type: http
      scheme: basic
      x-basicInfoFunc: demo.basic_auth