Upon a successful execution, the response will have a status code of 200 and a JSON content type. The response body will contain the following structure:
The totalCount indicates the total number of projects found, while the nodes array contains the project details such as id, name, createdBy, color, description, and brandKit. The pageInfo object specifies if there are more pages available for pagination, along with the endCursor for the next page.
{"response": {"totalCount":10,"nodes": [ {"id":3102440,"name":"api created user's project","createdBy":719026,"color":null,"description":null,"brandKit": {"id":1224286,"name":"Lets tag this to project" } }, {"id":3102437,"name":"api created user's project","createdBy":719026,"color":null,"description":null,"brandKit": {"id":1224286,"name":"Lets tag this to project" } }, {"id":2898068,"name":"Samuel Negru's project","createdBy":141,"color":null,"description":null,"brandKit": {"id":1224286,"name":"Lets tag this to project" } }, ... {"id":2400300,"name":"Vridhi QA's project","createdBy":719026,"color":null,"description":null,"brandKit": {"id":1224286,"name":"Lets tag this to project" } }, {"id":2313714,"name":"Tibi Orosz's project","createdBy":719026,"color":null,"description":null,"brandKit": {"id":1224286,"name":"Lets tag this to project" } } ],"pageInfo": {"hasNextPage":true,"endCursor":"eyJsaW1pdCI6MTAsImxhc3RJZCI6MjMxMzcxNH0=" } }}
Create Project
This endpoint allows you to create a new project.
Request
Method: POST
Endpoint: https://api.creatopy.com/v1/projects
Body:
name (string, required): The name of the project.
brandKitId (integer, required): The ID of the brand kit associated with the project.
Response
The response of this request can be documented as a JSON schema: