Skip to main content
POST

Authorizations

Authorization
string
header
required

Company API key. Obtain this from your Woku dashboard under Settings > API Keys.

Body

application/json
wokuId
string<objectid>
required

MongoDB ObjectId of the woku to add the review to

Example:

"507f1f77bcf86cd799439011"

qualification
integer
required

Star rating from 1 to 5

Required range: 1 <= x <= 5
Example:

5

description
string
required

Text content of the review (max 3000 characters)

Maximum string length: 3000
Example:

"Excellent service! The staff was very helpful and friendly."

clientEmail
string<email>

Email address of the reviewer

Example:

"reviewer@example.com"

clientPhone
integer

Phone number of the reviewer (including country code, no spaces or symbols)

Example:

56988887777

anonymous
boolean
default:false

Whether the review should be anonymous

Example:

false

Response

Textnote created successfully

_id
string<objectid>

Unique identifier of the textnote

Example:

"507f1f77bcf86cd799439018"

wokuId
string<objectid>

Woku ID the textnote belongs to

Example:

"507f1f77bcf86cd799439011"

qualification
object
description
string

Text content of the review

Example:

"Excellent service!"

anonymous
boolean
Example:

false

clientId
string<objectid>
createdAt
string<date-time>
updatedAt
string<date-time>