Skip to main content

Upload List File

Upload files, images, cover images, or avatar image associated with a specific list

POST/v1/user/list/{id}/files

Properties

NameTypeRequiredDescription
idnumberID of the list

Example

/v1/user/list/123/files

CURL Example

curl -X POST "https://api-integrations.snackprompt.com/v1/user/list/{id}/files" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"cover_images":[{"file_name":"cover_image.jpg","file_buffer":{"data":[1,2,3,4,5,6],"type":"image/jpeg"}}]}'