delete_contact
Delete a contact from your Refiner project. Identify the contact by their user ID, email, or Refiner UUID. **Deleting a contact will also remove their survey responses.** If you need to delete for compliance but keep responses, consider overwriting sensitive data with empty values using the Identify User tool instead.
list_contacts
List contacts in your Refiner project with optional filtering. Returns contact details including attributes, segments, and account associations. Supports filtering by survey, segment, or search query, and pagination for large datasets.
get_contact
Retrieve detailed information about a specific contact, including their attributes, segments, and account association. Identify the contact by their user ID, email, or Refiner UUID.
identify_user
Create or update a user record in Refiner with custom traits (attributes). Use this to import user data from your backend into Refiner. Traits that don't exist yet will be created automatically. You can also associate users with accounts for grouping.
track_event
Track a user event in Refiner. Event data will be merged with event data tracked through the JavaScript client library. Useful for triggering surveys based on backend events.
get_reporting
Retrieve aggregated survey reporting data. Supports NPS scores, CSAT scores, ratings averages, response distributions, and response counts. Filter by survey, segment, question, tag, or date range.
tag_response
Add tags to a survey response for categorization and analysis. Tags help organize responses and can trigger webhook events when added.
list_segments
Retrieve all segments in your Refiner project, including both data-driven and manual segments. Returns each segment's UUID, name, and whether it is a manual segment.
get_account
Retrieve information about your Refiner account, including subscription plan details, usage metrics (tracked users, events, page views, survey responses), and configured environments.
manage_segment
Add or remove a user from a manual segment in Refiner. Identify the user by their user ID or email. If no user matches the provided identifier, a new user will be created when adding.
store_response
Store a survey response for a user. Useful for importing historical survey data or storing responses collected through your own custom survey UI.
list_responses
Retrieve survey responses with filtering by survey, segment, date range, and completion status. Returns response data, survey info, and contact details for each response.
list_surveys
Retrieve surveys in your Refiner project. Filter by status (published, drafts, archived) and optionally include configuration details.
manage_survey
Perform management actions on a survey: publish, unpublish, duplicate, or archive. The delete action archives the survey, which remains discoverable with list_surveys using archived status. Specify the survey UUID and the action to perform.
list_survey_history
Retrieve a paginated change log for a Refiner survey. Each version includes its UUID, action, timestamp, and full survey configuration and question snapshot. Call list_surveys to discover survey UUIDs.
get_current_project
Retrieve the UUID and name of the Refiner environment connected to the current API key. Use this to confirm which environment your tools operate in.