New to Corsair? See API access, authentication, and error handling.
Account
get
account.get
Read the subscription plan, monthly usage against each limit, and the environments in the account
Risk: read
subscription full type
subscription full type
environments full type
environments full type
Contacts
delete
contacts.delete
Delete a contact and all their survey responses; overwrite traits with users.identify instead when the responses must survive
Risk: destructive
Output
get
contacts.get
Read one contact and everything on record for them by user ID, email or Refiner UUID
Risk: read
Output
segments full type
segments full type
account full type
account full type
list
contacts.list
List contacts with their traits, segments and account, filtered by survey or segment
Risk: read
Output
items full type
items full type
pagination full type
pagination full type
Forms
archive
forms.archive
Archive a survey; Refiner archives rather than deletes, and an archived survey still appears under all_with_archived
Risk: write
Output
duplicate
forms.duplicate
Duplicate a survey into a new draft under a new name
Risk: write
Output
history
forms.history
List the previous versions of a survey, each with its full configuration and question set
Risk: read
Output
items full type
items full type
pagination full type
pagination full type
list
forms.list
List surveys by state, optionally with their configuration and response and view counts
Risk: read
Output
items full type
items full type
pagination full type
pagination full type
publish
forms.publish
Publish a survey, or unpublish it with published: false so it stops collecting
Risk: write
Output
Reporting
get
reporting.get
Compute an NPS, CSAT, ratings, distribution or count report over a date range and any filters
Risk: read
Output
Responses
list
responses.list
List survey responses and views, filtered by survey, segment, tag, date, answers or contact traits
Risk: read
Output
items full type
items full type
pagination full type
pagination full type
store
responses.store
Store a survey response for a user on an existing survey, to import history or feed a custom survey UI. Answers go in as top-level keys named by question identifier, such as { id: ‘user-1’, form_uuid, nps: 9, feedback: ‘Fast setup’ }
Risk: write
Output
tag
responses.tag
Add tags to an existing survey response, up to 20
Risk: write
Output
Segments
list
segments.list
List segments, reporting whether each is hand-curated or computed
Risk: read
Output
items full type
items full type
pagination full type
pagination full type
sync
segments.sync
Add a user to a manual segment, or remove them, creating the contact when no match exists
Risk: write
Output
Users
identify
users.identify
Identify a user by ID or email, creating the contact on first sight. Every other top-level key is saved as a trait, such as { id: ‘user-1’, plan: ‘pro’, signed_up_at: ‘2024-01-15’ }
Risk: write
Output
track
users.track
Track a named event for a user, creating the contact when no match exists
Risk: write
Output