Endpointget /v3/folders
Response200 400 401 429
folder_id int |
A unique folder ID.
|
name string |
The name of the folder.
|
|
cURL
curl "https://{your_name}.api.advalify.io/v3/folders"
-H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
-X GET
Example Response
[{ "folder_id": 238989287, "name": "My folder" }, { "folder_id": 935487770, "name": "Another folder" }]
|
Endpointpost /v3/folders
Parameters
name string, required |
The name of the folder. |
Response200 400 401 429
folder_id int |
The unique folder ID.
|
|
cURL
curl "https://{your_name}.api.advalify.io/v3/folders"
-H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
-X POST
-d '{ "name": "New folder name" }'
Example Response
{ "folder_id": 304328087 }
|
Endpointget /v3/folders/{folder_id}
Response200 400 401 429
folder_id int |
A unique folder ID.
|
name string |
The name of the folder.
|
|
cURL
curl "https://{your_name}.api.advalify.io/v3/folders/{folder_id}"
-H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
-X GET
Example Response
{ "folder_id": 238989287, "name": "My folder" }
|
Endpointput /v3/folders/{folder_id}
Parameters
name string, required |
The name of the folder. |
|
cURL
curl "https://{your_name}.api.advalify.io/v3/folders/{folder_id}"
-H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
-X PUT
-d '{ "name": "New folder name" }'
|
Endpointdelete /v3/folders/{folder_id}
|
cURL
curl "https://{your_name}.api.advalify.io/v3/folders/{folder_id}"
-H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
-X DELETE
|