For the complete documentation index, see llms.txt. This page is also available as Markdown.

Brand Kits

List brand kits

This endpoint makes an HTTP GET request to retrieve brand kits.

Request

  • Method: GET

  • Endpoint: https://api.thebrief.ai/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 kit

This endpoint allows you to create a new brand kit.

Request

  • Method: POST

  • Endpoint: https://api.thebrief.ai/v1/brandkits/create

  • Body:

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

    • brandName (string, optional): The name of the brand.

    • website (string, optional): The website of the brand.

    • description (string, optional): The description of the brand.

    • voice (string, optional): The voice of the brand.

    • tone (array, optional): The tones of the brand.

Response

The response is a JSON object with the following schema:

Delete brand kit

This endpoint allows you to delete a brand kit.

Request

  • Method: DELETE

  • Endpoint: https://api.thebrief.ai/v1/brandkits

  • Body:

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

Response

Update brand kit

This endpoint allows you to update the name of a brand kit.

Request

  • Method: PUT

  • Endpoint: https://api.thebrief.ai/v1/brandkits

  • Body:

    • brandkitId (integer, required): The brandkit ID

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

    • brandName (string, optional): The name of the brand.

    • website (string, optional): The website of the brand.

    • description (string, optional): The description of the brand.

    • voice (string, optional): The voice of the brand.

    • tone (array, optional): The tones of the brand.

Response

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

Last updated