Skip to main content
Version: FINAL-1.0.0

Get all projects

getapi.bunnystudio.com/projects

This endpoint returns all the projects of the authenticated user with pagination and some search filters.

Requirements

Authentication

Query parameters

page
<optional> number
Page that you want to retrieve from the paginated list. The default value is 1.
pageSize
<optional> number
Page size you want the pagination to have. The default value is 20.
titleQuery
<optional> string
Title of the project you want to filter. The default value is empty.
category
<optional> string
Category of the projects you want to filter. The default value is empty.

Request example

 curl --request GET \ 
--url https://api.bunnystudio.com/projects?page=1&pageSize=20&titleQuery=Testing&category=voice_over \
--header "Content-Type: application/json" \
--header "x-access-token: YOUR_TOKEN" \

Response format

page
number
Number of the requested page.
total
number
Total number of projects created by the authenticated user.
projects
array
Array of projects that the authenticated user has created and match the filter criteria.

Response example

{
"page": 1,
"total": XXX,
"projects": [LIST_OF_PROJECTS],
}

Error responses

500 Not projects info

{
status: 500,
type: 'NOT_PROJECTS_INFO',
message: 'There was an error getting all the projects, please talk with our support team',
}

403 Forbidden

{
status: 403,
type: 'FORBIDDEN',
message: 'You do not have permission to do this action',
}