Brand Kits

List Brand kits

This endpoint makes an HTTP GET request to retrieve brand kits based on the provided keyword and limit.

Request

  • Method: GET

  • Endpoint: https://api.creatopy.com/v1/brandkits

  • Query Parameters:

    • keyword (string, optional): The keyword to search brand kits.

    • limit (integer, optional) : The maximum number of brand kits to retrieve.

    • cursor (string, optional): A cursor for pagination.

    • orderBy (enum, optional): option to order the response results by next fields:

      ID
      NAME
      CREATED_AT
      UPDATED_AT
    • orderDirection (enum, optional): option to order the response by direction:

      ASC
      DESC

Response

The response will be in JSON format with the following structure:

  • totalCount (integer) - The total count of brand kits matching the search criteria.

  • nodes (array) - An array of brand kit nodes.

  • pageInfo (object) - Information about the pagination, including whether there is a next page and the end cursor.

Create Brand kits

This endpoint allows you to create a new brand kit.

Request

  • Method: POST

  • Endpoint: https://api.creatopy.com/v1/brandkits/create

  • Body:

    • name (string, required): The name of the brand kit.

Response

The response is a JSON object with the following schema:

Delete Brand kits

This endpoint allows you to delete a brandkit.

Request

  • Method: DELETE

  • Endpoint: https://api.creatopy.com/v1/brandkits

  • Body:

    • brandkitId (integer, required): The ID of the brandkit you want to be deleted.

Response

Update brandkits

This endpoint allows you to update the name of a brandkit.

Request

  • Method: PUT

  • Endpoint: https://api.creatopy.com/v1/brandkits

  • Body:

    • brandkitId (integer, required): The brandkit id

    • name (string, required): The new name of the brandkit.

Response

The response will be in JSON format with the following structure:

Last updated