Skip to main content
POST
/
series
/
{seriesId}
/
artwork
/
upload
Upload series artwork
curl --request POST \
  --url https://api.thehaystack.ai/v2/haystack/series/{seriesId}/artwork/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form type=square \
  --form image='@example-file'
{
  "seriesId": 123,
  "type": "<string>",
  "filename": "<string>",
  "url": "<string>",
  "metadata": {}
}

Authorizations

Authorization
string
header
required

Enter your API token from the Haystack dashboard

Path Parameters

seriesId
integer
required

Body

multipart/form-data
type
enum<string>
required
Available options:
square,
wide,
ultraWide,
vertical
image
file
required

Response

200 - application/json

Artwork uploaded

seriesId
integer
type
string
filename
string
url
string
metadata
object

Image dimensions and format