Forsta Email API

The Email API from Forsta — 4 operation(s) for email.

Operations 4

POST /api.pro#method=portal.email.sendOptOutConfirmation Sends an opt-out confirmation email to a panelist #
POST /api.pro#method=portal.email.sendReferFriend Send a refer a friend email to the supplied email address #
POST /api.pro#method=portal.email.sendResetPassword Send a reset password email #
POST /api.pro#method=portal.email.sendOptInConfirmation Sends an opt-in email to the e-mail address provided #

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-email-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-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Panel Management Community Email API
  version: ''
servers:
- url: https://{server}
  description: Replace server with your instance domain.
  variables:
    server:
      default: staging.panel.dev.focusvision.com/
      description: Server domain
security:
- ApiKey: []
tags:
- name: Email
paths:
  /api.pro#method=portal.email.sendOptOutConfirmation:
    post:
      operationId: portal.email.sendOptOutConfirmation
      summary: Sends an opt-out confirmation email to a panelist
      description: 'Sends an opt-out confirmation email to a panelist. The system will automatically use the pre-defined email template from the community the panelist belongs to. When the panelist clicks on the link embedded in the email the system will mark the panelist as unsubscribed. If a custom API powered community is used then panelists will be redirected to "Receiver URL for landing pages" which is setup in the community properties.


        Example redirect:

        https://www.customcommunity.com/landing.php?kslp=AkjdJDEcnj3ddf


        The kslp parameter specifies the appropriate landing page which can be obtained using integration.community.getLandingPage call.'
      tags:
      - Email
      parameters:
      - $ref: '#/components/parameters/method'
        schema:
          enum:
          - portal.email.sendOptOutConfirmation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                mobile:
                  type: boolean
                  description: If true send an SMS, if false send an Email.
                  default: false
                seskey:
                  type: string
                  description: A valid login hash.
              required:
              - seskey
            example:
              seskey: ce512c91
              mobile: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/error'
                - type: object
                  properties:
                    success:
                      type: boolean
                      description: The email was successful.
              examples:
                success:
                  summary: Success
                  value:
                    success: true
                error-0:
                  description: Due to an internal error, sending the email failed.
                  summary: Internal error
                  value:
                    success: false
                    error: Failed to send optout email.
                    errno: '0'
                error-1:
                  description: Session key is not in correct format.
                  summary: Session invalid
                  value:
                    success: false
                    error: Session string is invalid
                    errno: '20101'
                error-2:
                  description: The supplied mobile is not a boolean value.
                  summary: Mobile invalid
                  value:
                    success: false
                    error: The mobile flag type is invalid
                    errno: '20102'
                error-3:
                  description: Session is not valid or is not found for supplied session key.
                  summary: Session invalid
                  value:
                    success: false
                    error: Session invalid
                    errno: '30100'
                error-4:
                  description: Session has expired.
                  summary: Session expired
                  value:
                    success: false
                    error: Session expired
                    errno: '30100'
  /api.pro#method=portal.email.sendReferFriend:
    post:
      operationId: portal.email.sendReferFriend
      summary: Send a refer a friend email to the supplied email address
      description: 'Send a refer a friend email to the supplied email address. The system will automatically use the pre-defined email template from the community the panelist belongs to. If a custom API powered community is used then panelists will be redirected to "Receiver URL for landing pages" which is setup in the community properties.


        Example redirect:

        https://www.customcommunity.com/landing.php?kslp=AkjdJDEcnj3ddf


        The kslp parameter specifies the appropriate landing page which can be obtained using integration.community.getLandingPage call.'
      tags:
      - Email
      parameters:
      - $ref: '#/components/parameters/method'
        schema:
          enum:
          - portal.email.sendReferFriend
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  description: The email address to refer.
                points:
                  type: integer
                  description: The points rewarded to the referrer.
                mobile:
                  type: boolean
                  description: If true send an SMS, if false send an Email.
                  default: false
                seskey:
                  type: string
                  description: A valid login hash.
              required:
              - seskey
              - email
              - points
            example:
              seskey: ce512c91
              email: person@example.com
              points: 100
              mobile: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/error'
                - type: object
                  properties:
                    success:
                      type: boolean
                      description: The email was successful.
              examples:
                success:
                  summary: Success
                  value:
                    success: true
                error-0:
                  description: Due to an internal error, sending the email failed.
                  summary: Internal error
                  value:
                    success: false
                    error: Failed to send refer friend email.
                    errno: '0'
                error-1:
                  description: Session key is not in correct format.
                  summary: Session invalid
                  value:
                    success: false
                    error: Session string is invalid
                    errno: '20101'
                error-2:
                  description: The supplied email is not a valid email address.
                  summary: Email invalid
                  value:
                    success: false
                    error: The supplied email address is invalid
                    errno: '20102'
                error-3:
                  description: The supplied points value is not numeric.
                  summary: Points invalid
                  value:
                    success: false
                    error: The supplied points value is invalid
                    errno: '20103'
                error-4:
                  description: The supplied mobile is not a boolean value.
                  summary: Mobile invalid
                  value:
                    success: false
                    error: The mobile flag type is invalid
                    errno: '20104'
                error-5:
                  description: The supplied email address is a member or has been sent a referral by the current panelist. Additional referrals cannot be sent to this email address.
                  summary: Email member already referred
                  value:
                    success: false
                    error: The person you were trying to refer is already a member or has already been referred by you
                    errno: '20202'
                error-6:
                  description: The supplied email address is opted-out of referrals and cannot be sent additional referrals.
                  summary: Email referral opt-out
                  value:
                    success: false
                    error: The person you were trying to refer does not wish to be referred again
                    errno: '20302'
                error-7:
                  description: Session is not valid or is not found for supplied session key.
                  summary: Session invalid
                  value:
                    success: false
                    error: Session invalid
                    errno: '30100'
                error-8:
                  description: Session has expired.
                  summary: Session expired
                  value:
                    success: false
                    error: Session expired
                    errno: '30100'
  /api.pro#method=portal.email.sendResetPassword:
    post:
      operationId: portal.email.sendResetPassword
      summary: Send a reset password email
      description: 'Send a reset password email to the e-mail address provided. The system will automatically use the pre-defined email template from the community the panelist belongs to. If a custom API powered community is used then panelists will be redirected to "Receiver URL for landing pages" which is setup in the community properties.


        Example redirect:

        https://www.customcommunity.com/landing.php?kslp=AkjdJDEcnj3ddf


        The kslp parameter specifies the appropriate landing page which can be obtained using integration.community.getLandingPage call.'
      tags:
      - Email
      security: []
      parameters:
      - $ref: '#/components/parameters/method'
        schema:
          enum:
          - portal.email.sendResetPassword
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                panelid:
                  type: integer
                  description: The panelid that the email address is registered to.
                email:
                  type: string
                  description: The email address to send the email to.
                mobile:
                  type: boolean
                  description: If true send an SMS, if false send an Email.
                  default: false
              required:
              - panelid
              - email
            example:
              panelid: 1
              email: demo@example.com
              mobile: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/error'
                - type: object
                  properties:
                    success:
                      type: boolean
                      description: The email was successful.
              examples:
                success:
                  summary: Success
                  value:
                    success: true
                error-0:
                  description: Due to an internal error, sending the email failed.
                  summary: Internal error
                  value:
                    success: false
                    error: Failed to send reset password email.
                    errno: '0'
                error-1:
                  description: Panel with supplied panel ID is not found.
                  summary: Panel not found
                  value:
                    success: false
                    error: Panel ID does not exist, or is currently inaccessible.
                    errno: '10000'
                error-2:
                  description: The supplied panel ID is not numeric.
                  summary: Panel ID invalid
                  value:
                    success: false
                    error: Panel ID is invalid
                    errno: '20101'
                error-3:
                  description: The supplied email is not a valid email address.
                  summary: Email invalid
                  value:
                    success: false
                    error: The supplied email address is invalid
                    errno: '20102'
                error-4:
                  description: Panelist with supplied email address is not found.
                  summary: Email not found
                  value:
                    success: false
                    error: The supplied email address could not be found
                    errno: '20102'
                error-5:
                  description: The supplied mobile is not a boolean value.
                  summary: Mobile invalid
                  value:
                    success: false
                    error: The mobile flag type is invalid
                    errno: '20103'
  /api.pro#method=portal.email.sendOptInConfirmation:
    post:
      operationId: portal.email.sendOptInConfirmation
      summary: Sends an opt-in email to the e-mail address provided
      description: 'Sends an opt-in email to the e-mail address provided. The system will automatically use the pre-defined email template from the community the panelist belongs to. If a custom API powered community is used then panelists will be redirected to "Receiver URL for landing pages" which is setup in the community properties.


        Example redirect:

        https://www.customcommunity.com/landing.php?kslp=AkjdJDEcnj3ddf


        The kslp parameter specifies the appropriate landing page which can be obtained using integration.community.getLandingPage call.'
      tags:
      - Email
      security: []
      parameters:
      - $ref: '#/components/parameters/method'
        schema:
          enum:
          - portal.email.sendOptInConfirmation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                panelid:
                  type: integer
                  description: The panelid that the email address is registered to.
                email:
                  type: string
                  description: The email address to send the email to.
                mobile:
                  type: boolean
                  description: If true send an SMS, if false send an Email.
                  default: false
              required:
              - panelid
              - email
            example:
              panelid: 1
              email: demo@example.com
              mobile: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/error'
                - type: object
                  properties:
                    success:
                      type: boolean
                      description: The email was successful.
              examples:
                success:
                  summary: Success
                  value:
                    success: true
                error-0:
                  description: Due to an internal error, sending the email failed.
                  summary: Internal error
                  value:
                    success: false
                    error: Failed to send optin email.
                    errno: '0'
                error-1:
                  description: Panelist cannot resend confirmation because panelist is unconfirmed.
                  summary: Panelist unconfirmed
                  value:
                    success: false
                    error: Failed to send optin email.
                    errno: '0'
                error-2:
                  description: Panel with supplied panel ID is not found.
                  summary: Panel not found
                  value:
                    success: false
                    error: Panel ID does not exist, or is currently inaccessible.
                    errno: '10000'
                error-3:
                  description: The supplied panel ID is not numeric.
                  summary: Panel ID invalid
                  value:
                    success: false
                    error: Panel ID is invalid
                    errno: '20101'
                error-4:
                  description: The supplied email is not a valid email address.
                  summary: Email invalid
                  value:
                    success: false
                    error: The supplied email address is invalid
                    errno: '20102'
                error-5:
                  description: Panelist with supplied email address is not found.
                  summary: Email not found
                  value:
                    success: false
                    error: The supplied email address could not be found
                    errno: '20102'
                error-6:
                  description: The supplied mobile is not a boolean value.
                  summary: Mobile invalid
                  value:
                    success: false
                    error: The mobile flag type is invalid
                    errno: '20103'
components:
  schemas:
    error:
      type: object
      properties:
        success:
          type: boolean
        error:
          description: The error message.
          type: string
        errno:
          description: The error code.
          type: string
  parameters:
    method:
      name: method
      in: query
      required: true
      description: Method
      schema:
        type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      in: query
      name: seskey
x-tagGroups:
- name: Data Input and Output
  tags:
  - Auth
  - Email
  - Panel
  - Panelist
  - Points
  - Quickpoll
  - Redemption
  - Reward
  - Survey
  - System