Creatopy Public API
  • Public API
    • Quickstart
    • Authentication
  • REST API
    • Overview
    • Auth
    • Exports
      • Creatives
    • Templates (Designs)
      • Elements
      • Template Sizes
      • Font variants
    • ShareLink
    • Projects
      • Project Users
    • Brand Kits
      • Brand kit assets
      • Brand kit logos
      • Brand kit media folders
      • Brand templates
    • Ad Networks
    • Ad Serving
    • Users
      • Team roles
    • Webhooks
      • Webhook action types
    • Design Versions
    • Folders
      • Move design to folder
    • Error codes
    • Designs
  • GraphQL API
    • Overview
    • Endpoints and queries
    • Postman Collection
Powered by GitBook
On this page
  • Request
  • Response
  1. REST API
  2. Folders

Move design to folder

This endpoint is used to move a design to a specific folder.

Request

  • Method: POST

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

  • Body:

    • designHash (string, required): The hash of the design to be moved.

    • folderId (integer, required): The ID of the folder to which the design will be moved. If you want to move on to the root of the project folderIdshould be -1.

curl --location 'https://api.creatopy.local/v1/moveDesignToFolder' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhdXUpI2Yi5h4...' \
--data '{
  "designHash": "mz2k0q",
  "folderId": 716578
}'

Response

Upon successful execution, the response will have a status code of 200 and a JSON content type. The response body will contain the following structure:

JSON

{
    "response": true
}
PreviousFoldersNextError codes

Last updated 4 months ago