Authentication and API Details
Base URL: https://app.retently.com
API Version: v2
Authentication: API Key (pass as api_key header)
GET CUSTOMERS
/api/v2/nps/customers{?page,limit,sort}EXAMPLE URI
https://app.retently.com/api/v2/nps/customers?page=1&limit=20&sort=createdDateURI Parameters
Request
200GET CUSTOMER BY ID
/api/v2/nps/customers/{customerId}EXAMPLE URI
https://app.retently.com/api/v2/nps/customers/5a9d595701c85b38114b5a1Request
200400401404GET COMPANIES
/api/v2/companies{?page,limit,sort}EXAMPLE URI
https://app.retently.com/api/v2/companies?page=1&limit=20&sort=-createdDateURI Parameters
Request
Sort Options
200400401GET COMPANY BY ID
/api/v2/companies/{companyId|domain}EXAMPLE URIS
https://app.retently.com/api/v2/companies/60444db01eeeb6bf89799999https://app.retently.com/api/v2/companies/acme.comRequest
200401404GET REPORTS
/api/v2/reports/EXAMPLE URI
https://app.retently.com/api/v2/reports/5f1ec45y27b8313876299999URI Parameters
Request
200GET LATEST SCORE
/api/v2/{metric}/scoreYou can get the last score based on the survey metric. In the link replace {metric} with: nps, star, csat, or ces. You can pull the score only for one metric at a time.
EXAMPLE URIS
https://app.retently.com/api/v2/nps/scorehttps://app.retently.com/api/v2/star/scorehttps://app.retently.com/api/v2/csat/scorehttps://app.retently.com/api/v2/ces/scoreRequest
200401GET FEEDBACK
/api/v2/feedback{?page,limit,sort,startDate,endDate}EXAMPLE URI
https://app.retently.com/api/v2/feedback?page=1&limit=20&sort=-createdDate&startDate=1514764800&endDate=1526556971URI Parameters
Request
200GET FEEDBACK BY ID
/api/v2/feedback/{feedbackId|campaignId}EXAMPLE URI
https://app.retently.com/api/v2/feedback/5a9d595701c85b37224ab2d0Request
200400401404GET OUTBOX
/api/v2/nps/outbox{?page, limit}EXAMPLE URI
https://app.retently.com/api/v2/nps/outbox?page=1&limit=50URI Parameters
Request
200GET TEMPLATES
/api/v2/templatesEXAMPLE URI
https://app.retently.com/api/v2/templatesRequest
200401GET CAMPAIGNS
/api/v2/campaignsEXAMPLE URI
https://app.retently.com/api/v2/campaignsRequest
Notes
200401GET TRENDS GROUPS
/api/v2/trendsList available trend groups for the authenticated account. Trends allow you to track performance metrics over time with custom filters.
EXAMPLE URI
https://app.retently.com/api/v2/trendsRequest
200401403500GET TREND GROUP DETAILS
/api/v2/trends/:groupIdReturns the full data needed to render a single trend group including scores, trend lines, and respondent distribution. Pass 'default' as the groupId to get the group marked as default, matching the web application experience.
Score Fields:
current: Latest score in the selected date rangeprevious: First/oldest score in the selected date range (baseline)change: Absolute point difference (current - previous)changePercentage: Percentage point change calculated as:- For NPS: Normalizes -100 to 100 scale to 0-200 scale, then calculates:
(current+100 - previous+100) * 100 / 200. Example: current=-19, previous=-32 → 6.5% - For CSAT/CES: Simple difference since already 0-100 scale:
current - previous. Example: current=75, previous=70 → 5%
- For NPS: Normalizes -100 to 100 scale to 0-200 scale, then calculates:
EXAMPLE URI
https://app.retently.com/api/v2/trends/629505b15f6e06c05ca8a582URI Parameters
Request
200400401403404500CREATE OR UPDATE CUSTOMERS
/api/v2/nps/customersMaximum number of customers per request should not exceed 1,000
EXAMPLE URI
https://app.retently.com/api/v2/nps/customersRequest Body Parameters
Request
Manage customer properties
200SEND TRANSACTIONAL SURVEY
/api/v2/surveyEXAMPLE URI
https://app.retently.com/api/v2/surveyRequest Body Parameters
Request
Manage customer properties
For transactional in-app survey
Note
200400401403404ADD FEEDBACK TOPICS
/api/v2/response/topicsEXAMPLE URI
https://app.retently.com/api/v2/response/topicsRequest Body Parameters
Request
200ADD FEEDBACK TAGS
/api/v2/response/tagsEXAMPLE URI
https://app.retently.com/api/v2/response/tagsRequest Body Parameters
Request
200UNSUBSCRIBE CUSTOMERS
/api/v2/nps/customers/unsubscribeEXAMPLE URI
https://app.retently.com/api/v2/nps/customers/unsubscribeRequest Body Parameters
Request
200DELETE CUSTOMERS
/api/v2/nps/customersEXAMPLE URI
https://app.retently.com/api/v2/nps/customersRequest Body Parameters
Request
200GET RESPONSES (DEPRECATED)
/api/v2/nps/customers/response{?page,limit,sort,startDate,endDate}EXAMPLE URI
https://app.retently.com/api/v2/nps/customers/response?page=1&limit=20&sort=createdDate&startDate='1514764800'&endDate='1526556971'URI Parameters
Request
200GET TEMPLATES (DEPRECATED)
/api/v2/nps/templatesEXAMPLE URI
https://app.retently.com/api/v2/nps/templatesRequest
Notes
200GET CAMPAIGNS (DEPRECATED)
/api/v2/nps/campaignsEXAMPLE URI
https://app.retently.com/api/v2/nps/campaignsRequest
Notes
200404SEND SURVEY (REMOVED)
/api/v2/nps/customers/survey/api/v2/nps/customers/survey endpoint has been removed, and all requests to this endpoint will now return an error. If you are currently using this endpoint or planning to use our API to trigger surveys, please switch to the /api/v2/survey endpoint here.EXAMPLE URI
https://app.retently.com/api/v2/nps/customers/surveyRequest Body Parameters
Request
200403404UPDATE FEEDBACK TAGS (DEPRECATED)
/api/v2/nps/customers/response/tagsEXAMPLE URI
https://app.retently.com/api/v2/nps/customers/response/tagsRequest Body Parameters
Request
200