Importing NPS with UserVoice Admin API

Any interaction with the UserVoice Admin API requires a trusted API client. You can create one by following this guide.

Request

Following is a curl example of a post request that creates an nps_rating.

Substitute <SUBDOMAIN> for your subdomain and <TOKEN> for your API token.

1
2
3
4
5
curl https://<SUBDOMAIN>.uservoice.com/api/v2/admin/feedback_records \
  -X "POST" \
  -H "Authorization: Bearer <TOKEN>" \
  -d "rating=10" \
  -d "user.email=carterjackson@gmail.com" \

Response

If creation is successful, the response will show all attributes of the new record. If unsuccessful, the response will indicate what went wrong.

Additional Information

To learn more about creating feedback_records using the API, explore the following resources:

Admin API Reference

Full tutorial

Didn’t find what you’re looking for?

Check out the UserVoice Help Center for more documentation.

Explore the Help Center