Skip to main content

Create a feedback object

This endpoint creates a feedback object. Feedback object must contain unique username and email. Attempting to create a feedback object with a username or email that already exists will result in a 422 Unprocessable Content error.

Request

POST https://api.nicereply.com/feedback-objects

Request body

Field NameData TypeIs NullableDescription
full_nameStringNo
usernameStringNoUnique username of the feedback object
emailStringYesUnique email of the feedback object
Example body
{
"full_name": "Jamie Hill",
"username": "jamie-hill",
"email": null
}

Example response

200 OK
{
"data": {
"id": "2e169e1f-07ce-4089-a743-df973c6b1708",
"type": "AGENT",
"username": "jamie-hill",
"integration_usernames": [],
"full_name": "Jamie Hill",
"email": "jamie+hill@example.tld",
"is_archived": false,
"feedback_object_groups": [],
"created_at": "2023-09-07T10:12:54+02:00",
"updated_at": "2023-09-07T10:12:54+02:00"
}
}