Skip to content

Create Review Group

POST
/api/v1/review_groups

Creates a new review group

workspace_id
required
integer

Workspace ID

object
name
required
string
reusable
required
boolean
stages
required
Array<object>
object
position
integer
approval_type
string
Allowed values: one_of all_of
members
Array<object>
object
user_id
integer

Successful

object
id
required
integer
Example
12345
name
required
string
Example
My Review Group
reusable
required
boolean
stages
required
Array<object>
object
position
required
integer
Example
1
approval_type
required
string
Allowed values: one_of all_of
members
required
Array<object>
object
user_id
required
integer
Example
12345
user
required
object
id
required
integer
Example
12345
first_name
required
string
Example
John
last_name
required
string
Example
Smith
profile_image_url
required
string
nullable
Example
https://example.com/profile.jpg

Unauthorized

object
message
required
string
Example
Record not found

Forbidden

object
message
required
string
Example
Record not found

Unprocessable Entity

object
message
required
string
Example
Failed to save
errors
required
object
key
additional properties
Array<string>
Example
{
"errors": {
"username": [
"Username is required.",
"Username must be unique."
],
"email": [
"Invalid email format."
]
}
}