Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

Creates a new folder in the media storage
POST https://services.leadconnectorhq.com/medias/folder

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Body

altId
string
default:"sx6wyHhbFdRXh302LLNR"
required
Account Id
altType
string
default:"account"
required
Type of entity (account only) Posibles valores: ‘account’
name
string
default:"New Folder"
required
Name of the folder to be created
parentId
string
default:"64af50c42d567a3b4f5989e0"
ID of the parent folder (optional)

Respuestas

altId
string
default:"sx6wyHhbFdRXh302LLNR"
required
Account identifier that owns this folder
altType
string
default:"account"
required
Type of entity that owns the folder Posibles valores: ‘account’
name
string
default:"New Folder"
required
Name of the folder
parentId
string
default:"64af50c42d567a3b4f5989e0"
ID of the parent folder (null for root folders)
type
string
default:"folder"
required
Type of the object (always ‘folder’ for folders)
deleted
boolean
default:"False"
Whether the folder has been deleted
pendingUpload
boolean
default:"False"
Whether there are pending uploads to this folder
category
string
default:"image"
Primary category of content stored in the folder
subCategory
string
default:"logo"
Sub-category of content stored in the folder
isPrivate
boolean
default:"False"
Whether the folder is private and not publicly accessible
relocatedFolder
boolean
default:"False"
Whether the folder has been moved from its original account
migrationCompleted
boolean
default:"True"
Whether the data migration process has been completed for this folder
appFolder
boolean
default:"False"
Whether this is a system-generated application folder
isEssential
boolean
default:"False"
Whether the folder is essential and should not be deleted
status
string
Current status of the folder
lastUpdatedBy
string
default:"user-uuid-123"
ID of the user who last updated the folder
{
  "altId": "sx6wyHhbFdRXh302LLNR",
  "altType": "account",
  "name": "New Folder",
  "parentId": "64af50c42d567a3b4f5989e0",
  "type": "folder",
  "deleted": false,
  "pendingUpload": false,
  "category": "image",
  "subCategory": "logo",
  "isPrivate": false,
  "relocatedFolder": false,
  "migrationCompleted": true,
  "appFolder": false,
  "isEssential": false,
  "status": "string",
  "lastUpdatedBy": "user-uuid-123"
}

Ejemplo

curl -X POST 'https://services.leadconnectorhq.com/medias/folder' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "altId": "sx6wyHhbFdRXh302LLNR",
  "altType": "account",
  "name": "New Folder",
  "parentId": "64af50c42d567a3b4f5989e0"
}'