This is available in UserVoice Discovery Premium.
Not included in your plan? Want to learn more about the benefits? Leave us a message! If you're viewing this on our Help Center, click the Support bubble in the lower-right of this page.
Not included in your plan? Want to learn more about the benefits? Leave us a message! If you're viewing this on our Help Center, click the Support bubble in the lower-right of this page.
Any interaction with the UserVoice Admin API requires a trusted API client. You can create one by following this guide.
The UserVoice Admin API provides a fast and easy way of working with your feedback data that allows you to build client applications and custom integrations.
The UserVoice Admin API will respond to all requests with a JSON data structure. Bodies for POST and PUT requests can be passed as either JSON or url-form-encoded data.
JSON Request:
$ curl https://SUBDOMAIN.uservoice.com/api/v2/admin/suggestions \
-X "POST" \
-H "Authorization: Bearer 096e8ae9c6a3c039" \
-H "Content-type: application/json" \
-d "{
'title': 'Test Suggestion',
'links': {
'forum': 1
}
}"
Form Request:
$ curl https://SUBDOMAIN.uservoice.com/api/v2/admin/suggestions \
-X "POST" \
-H "Authorization: Bearer 096e8ae9c6a3c039" \
-H "Content-type: application/x-www-form-urlencoded" \
-d "title=Test+Suggestion&links.forum=1"
Response:
{
"links": {
"suggestions.category": {
"type": "categories"
},
"suggestions.created_by": {
"type": "users"
},
"suggestions.forum": {
"type": "forums"
},
"suggestions.labels": {
"type": "labels"
},
"suggestions.last_status_update": {
"type": "status_updates"
},
"suggestions.parent_suggestion": {
"type": "suggestions"
},
"suggestions.status": {
"type": "statuses"
},
"suggestions.ticket": {
"type": "tickets"
}
},
"suggestions": [
{
"id": 184102,
"title": "Test Suggestion",
"body": "",
"body_mime_type": "",
"portal_url": "http://SUBDOMAIN.uservoice.com/forums/1/suggestions/184102",
"admin_url": "https://SUBDOMAIN.uservoice.com/admin/v3/suggestions/184102",
"created_at": "2017-02-24T16:27:36Z",
"creator_user_agent": null,
"creator_referrer": null,
"creator_browser": null,
"creator_browser_version": null,
"creator_os": null,
"creator_mobile": false,
"state": "approved",
"inappropriate_flags_count": 0,
"approved_at": null,
"updated_at": "2017-02-24T16:27:36Z",
"closed_at": null,
"comments_count": 0,
"notes_count": 0,
"requests_count": 0,
"votes_count": 0,
"supporters_count": 0,
"supporting_accounts_count": 0,
"supporter_revenue": 0,
"supporter_satisfaction_score": 0,
"satisfaction_detractor_count": 0,
"satisfaction_promoter_count": 0,
"satisfaction_neutral_count": 0,
"average_engagement": 0,
"recent_engagement": 1,
"engagement_trend": 0,
"first_support_at": null,
"links": {
"forum": 1,
"category": null,
"labels": null,
"status": null,
"parent_suggestion": null,
"ticket": null,
"last_status_update": null,
"created_by": 9182
}
}
]
}