Skip to main content
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
Input: empty object Output

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
Input Output

get

contacts.get Read one contact and everything on record for them by user ID, email or Refiner UUID Risk: read
Input Output

list

contacts.list List contacts with their traits, segments and account, filtered by survey or segment Risk: read
Input Output

Forms

archive

forms.archive Archive a survey; Refiner archives rather than deletes, and an archived survey still appears under all_with_archived Risk: write
Input Output

duplicate

forms.duplicate Duplicate a survey into a new draft under a new name Risk: write
Input Output

history

forms.history List the previous versions of a survey, each with its full configuration and question set Risk: read
Input Output

list

forms.list List surveys by state, optionally with their configuration and response and view counts Risk: read
Input Output

publish

forms.publish Publish a survey, or unpublish it with published: false so it stops collecting Risk: write
Input Output

Reporting

get

reporting.get Compute an NPS, CSAT, ratings, distribution or count report over a date range and any filters Risk: read
Input Output

Responses

list

responses.list List survey responses and views, filtered by survey, segment, tag, date, answers or contact traits Risk: read
Input Output

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
Input Output

tag

responses.tag Add tags to an existing survey response, up to 20 Risk: write
Input Output

Segments

list

segments.list List segments, reporting whether each is hand-curated or computed Risk: read
Input Output

sync

segments.sync Add a user to a manual segment, or remove them, creating the contact when no match exists Risk: write
Input 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
Input Output

track

users.track Track a named event for a user, creating the contact when no match exists Risk: write
Input Output