Change request reviewers
Assign or list requested reviewers for a change request.
Ensure quality by requesting and tracking reviewer feedback in your GitBook flow. This endpoint helps orchestrate the entire review cycle.
The ChangeRequestRequestedReviewer object
{
"object": "change-request-requested-reviewer",
"revision": "text",
"requestedBy": {
"object": "user",
"id": "text",
"displayName": "text",
"email": "text",
"photoURL": "text",
"urls": {
"location": "https://example.com"
}
},
"createdAt": "2025-06-21T04:42:10.088Z",
"kind": "user",
"user": {
"object": "user",
"id": "text",
"displayName": "text",
"email": "text",
"photoURL": "text",
"urls": {
"location": "https://example.com"
}
}
}
The unique id of the space
The unique ID of the change request or its number identifier in the space
Identifier of the page results to fetch.
The number of results per page
GET /v1/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
A list of requested reviewers
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"object": "change-request-requested-reviewer",
"revision": "text",
"requestedBy": {
"object": "user",
"id": "text",
"displayName": "text",
"email": "text",
"photoURL": "text",
"urls": {
"location": "https://example.com"
}
},
"createdAt": "2025-06-21T04:42:10.088Z",
"kind": "user",
"user": {
"object": "user",
"id": "text",
"displayName": "text",
"email": "text",
"photoURL": "text",
"urls": {
"location": "https://example.com"
}
}
}
]
}
The unique id of the space
The unique ID of the change request or its number identifier in the space
An array of user ids that will be requested.
Optionally, update the subject of the change request when requesting reviewers.
POST /v1/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"users": [
"text"
],
"subject": "text"
}
The requests have successfully been sent.
{
"users": [
{
"object": "change-request-requested-reviewer",
"revision": "text",
"requestedBy": {
"object": "user",
"id": "text",
"displayName": "text",
"email": "text",
"photoURL": "text",
"urls": {
"location": "https://example.com"
}
},
"createdAt": "2025-06-21T04:42:10.088Z",
"kind": "user",
"user": {
"object": "user",
"id": "text",
"displayName": "text",
"email": "text",
"photoURL": "text",
"urls": {
"location": "https://example.com"
}
}
}
]
}
The unique id of the space
The unique ID of the change request or its number identifier in the space
The unique ID of the User
DELETE /v1/spaces/{spaceId}/change-requests/{changeRequestId}/requested-reviewers/{userId} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Was this helpful?