cURL
curl --request POST \ --url https://api.pocketsflow.com/images \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "url": "<string>", "id": "<string>" }
Upload an image file. Returns the image URL that can be used in products, posts, etc.
Enter your Pocketsflow API key (format: pk_live_... or pk_test_...)
Image file to upload
Image uploaded successfully
CDN URL of the uploaded image
Image ID
Was this page helpful?