Skip to main content
Every formbricks.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Action Classes

create

actionClasses.create Create an action class Risk: write
Input
Output

list

actionClasses.list List the action classes that can trigger a survey Risk: read
Input: empty object Output: object[]

Client

contactsState

client.contactsState Read a respondent’s state, creating the contact if the userId is new Risk: write
Input Output

createDisplay

client.createDisplay Record that a survey was displayed to someone Risk: write
Input Output

createUser

client.createUser Create a client user Risk: write
Input
Output

environment

client.environment Read the client environment bundle for a workspace Risk: read
Input Output

identifyUser

client.identifyUser Create or identify a client user Risk: write
Input
Output

Contact Attribute Keys

create

contactAttributeKeys.create Create a contact attribute key Risk: write
Input Output

delete

contactAttributeKeys.delete Delete a contact attribute key Risk: destructive
Input Output

get

contactAttributeKeys.get Get a single contact attribute key Risk: read
Input Output

getClass

contactAttributeKeys.getClass Get an attribute key under the catalog’s former “attribute class” name - same route as contactAttributeKeys.get Risk: read
Input Output

list

contactAttributeKeys.list List the contact attribute keys a workspace defines Risk: read
Input Output: object[]

listClasses

contactAttributeKeys.listClasses List attribute keys under the catalog’s former “attribute class” name - same route as contactAttributeKeys.list Risk: read
Input Output: object[]

update

contactAttributeKeys.update Update a contact attribute key’s definition - not any contact’s values Risk: write
Input Output

Contact Attributes

list

contactAttributes.list List contact attribute values across contacts Risk: read
Input: empty object Output: object[]

Contacts

create

contacts.create Create a contact Risk: write
Input
Output

delete

contacts.delete Delete a contact, removing a respondent’s identity Risk: destructive
Input Output

get

contacts.get Get a single contact Risk: read
Input Output

getPerson

contacts.getPerson Get a contact under the catalog’s former “person” name - same route as contacts.get Risk: read
Input Output

list

contacts.list List the contacts in a workspace Risk: read
Input: empty object Output: object[]

listPeople

contacts.listPeople List contacts under the catalog’s former “people” name - same route as contacts.list Risk: read
Input: empty object Output: object[]

updateAttributes

contacts.updateAttributes Set a contact’s attribute values by userId, creating the contact if it is new Risk: write
Input
Output

uploadBulk

contacts.uploadBulk Create many contacts in one request Risk: write
Input
Output

Health

check

health.check Check service health Risk: read
Input: empty object Output

list

health.list Read service health status Risk: read
Input: empty object Output

Me

get

me.get Get the API key’s identity, workspaces and organization Risk: read
Input: empty object Output

getAccountInfo

me.getAccountInfo Get account information Risk: read
Input: empty object Output

getManagement

me.getManagement Get the v1 account payload, for a workspace-scoped key only Risk: read
Input: empty object Output

Responses

create

responses.create Record a survey response Risk: write
Input
Output

delete

responses.delete Delete a survey response, erasing a respondent’s submitted answers Risk: destructive
Input Output

list

responses.list List survey responses, optionally for one survey Risk: read
Input Output: object[]

update

responses.update Update a survey response Risk: write
Input
Output

Roles

list

roles.list List the organization roles a member can hold Risk: read
Input: empty object Output: string[]

Storage

uploadPrivate

storage.uploadPrivate Request an upload for a private respondent file Risk: write
Input Output

uploadPublic

storage.uploadPublic Request an upload for a public file Risk: write
Input Output

Surveys

create

surveys.create Create a survey Risk: write
Input
Output

delete

surveys.delete Delete a survey and the responses collected against it Risk: destructive
Input Output

list

surveys.list List the surveys in a workspace Risk: read
Input Output: object[]

update

surveys.update Update a survey Risk: write
Input
Output

Teams

delete

teams.delete Delete a team, removing the workspace access it granted Risk: destructive
Input Output

list

teams.list List the teams in an organization Risk: read
Input Output: object[]

listWorkspaceTeams

teams.listWorkspaceTeams List which teams have access to which workspace Risk: read
Input Output: object[]

Webhooks

create

webhooks.create Create a webhook and receive its signing secret Risk: write
Input Output

delete

webhooks.delete Delete a webhook, invalidating its signing secret Risk: destructive
Input Output

get

webhooks.get Get a single webhook Risk: read
Input Output

list

webhooks.list List the webhooks on a workspace Risk: read
Input Output: object[]

update

webhooks.update Update a webhook Risk: write
Input Output