Templates (Designs)
List Templates (designs)
List all templates you have access to with the user assigned to the credentials.
This endpoint makes an HTTP GET request to retrieve a list of templates from the specified API endpoint.
Request
Method: GET
Endpoint:
https://api.creatopy.com/v1beta/templates
Query Parameters:
keyword
: The keyword to search for a template nameprojectId
: Return only templates from a projectlimit
: The maximum number of templates to be returned.cursor
: A cursor for pagination.apiGenerated
: Return only designs generated by API (excluded without this true)onlyTemplates
: Return only designs (marked as custom templates) from a team
Response
Upon a successful execution with a status code of 200, the response will be in JSON format and will include a "response" object containing an array of "nodes" with "id" and "name" properties, as well as a "pageInfo" object with "hasNextPage" and "endCursor" properties.
Request example:
Response example:
Delete Template (design)
This endpoint allows you to delete a design (template).
Request
Method: DELETE
Endpoint:
https://api.creatopy.com/v1beta/templates
Body:
hash
(string, required): The hash of the template(design) you want to be deleted.
Response
The response will be in JSON format:
Last updated