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

Documentation Index

Fetch the complete documentation index at: https://developer.thehaystack.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Enter your API token from the Haystack dashboard

Path Parameters

speakerId
integer
required

Body

multipart/form-data
image
file
required

Response

200 - application/json

Image uploaded

speakerId
integer
filename
string
url
string