formbricks.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Action Classes
create
actionClasses.create
Create an action class
Risk: write
noCodeConfig full type
noCodeConfig full type
list
actionClasses.list
List the action classes that can trigger a survey
Risk: read
object[]
Output full type
Output full type
Client
contactsState
client.contactsState
Read a respondent’s state, creating the contact if the userId is new
Risk: write
state full type
state full type
createDisplay
client.createDisplay
Record that a survey was displayed to someone
Risk: write
createUser
client.createUser
Create a client user
Risk: write
attributes full type
attributes full type
state full type
state full type
environment
client.environment
Read the client environment bundle for a workspace
Risk: read
identifyUser
client.identifyUser
Create or identify a client user
Risk: write
attributes full type
attributes full type
state full type
state full type
Contact Attribute Keys
create
contactAttributeKeys.create
Create a contact attribute key
Risk: write
delete
contactAttributeKeys.delete
Delete a contact attribute key
Risk: destructive
get
contactAttributeKeys.get
Get a single contact attribute key
Risk: read
getClass
contactAttributeKeys.getClass
Get an attribute key under the catalog’s former “attribute class” name - same route as contactAttributeKeys.get
Risk: read
list
contactAttributeKeys.list
List the contact attribute keys a workspace defines
Risk: read
object[]
Output full type
Output full type
listClasses
contactAttributeKeys.listClasses
List attribute keys under the catalog’s former “attribute class” name - same route as contactAttributeKeys.list
Risk: read
object[]
Output full type
Output full type
update
contactAttributeKeys.update
Update a contact attribute key’s definition - not any contact’s values
Risk: write
Contact Attributes
list
contactAttributes.list
List contact attribute values across contacts
Risk: read
object[]
Output full type
Output full type
Contacts
create
contacts.create
Create a contact
Risk: write
attributes full type
attributes full type
delete
contacts.delete
Delete a contact, removing a respondent’s identity
Risk: destructive
get
contacts.get
Get a single contact
Risk: read
getPerson
contacts.getPerson
Get a contact under the catalog’s former “person” name - same route as contacts.get
Risk: read
list
contacts.list
List the contacts in a workspace
Risk: read
object[]
Output full type
Output full type
listPeople
contacts.listPeople
List contacts under the catalog’s former “people” name - same route as contacts.list
Risk: read
object[]
Output full type
Output full type
updateAttributes
contacts.updateAttributes
Set a contact’s attribute values by userId, creating the contact if it is new
Risk: write
attributes full type
attributes full type
state full type
state full type
uploadBulk
contacts.uploadBulk
Create many contacts in one request
Risk: write
contacts full type
contacts full type
Health
check
health.check
Check service health
Risk: read
list
health.list
Read service health status
Risk: read
Me
get
me.get
Get the API key’s identity, workspaces and organization
Risk: read
getAccountInfo
me.getAccountInfo
Get account information
Risk: read
getManagement
me.getManagement
Get the v1 account payload, for a workspace-scoped key only
Risk: read
Responses
create
responses.create
Record a survey response
Risk: write
data full type
data full type
meta full type
meta full type
ttc full type
ttc full type
delete
responses.delete
Delete a survey response, erasing a respondent’s submitted answers
Risk: destructive
list
responses.list
List survey responses, optionally for one survey
Risk: read
object[]
Output full type
Output full type
update
responses.update
Update a survey response
Risk: write
data full type
data full type
variables full type
variables full type
Roles
list
roles.list
List the organization roles a member can hold
Risk: read
string[]
Storage
uploadPrivate
storage.uploadPrivate
Request an upload for a private respondent file
Risk: write
uploadPublic
storage.uploadPublic
Request an upload for a public file
Risk: write
Surveys
create
surveys.create
Create a survey
Risk: write
questions full type
questions full type
welcomeCard full type
welcomeCard full type
endings full type
endings full type
triggers full type
triggers full type
delete
surveys.delete
Delete a survey and the responses collected against it
Risk: destructive
list
surveys.list
List the surveys in a workspace
Risk: read
object[]
Output full type
Output full type
update
surveys.update
Update a survey
Risk: write
questions full type
questions full type
welcomeCard full type
welcomeCard full type
endings full type
endings full type
triggers full type
triggers full type
Teams
delete
teams.delete
Delete a team, removing the workspace access it granted
Risk: destructive
list
teams.list
List the teams in an organization
Risk: read
object[]
Output full type
Output full type
listWorkspaceTeams
teams.listWorkspaceTeams
List which teams have access to which workspace
Risk: read
object[]
Output full type
Output full type
Webhooks
create
webhooks.create
Create a webhook and receive its signing secret
Risk: write
delete
webhooks.delete
Delete a webhook, invalidating its signing secret
Risk: destructive
get
webhooks.get
Get a single webhook
Risk: read
list
webhooks.list
List the webhooks on a workspace
Risk: read
object[]
Output full type
Output full type
update
webhooks.update
Update a webhook
Risk: write