Skip to main content
PATCH
/
speakers
/
{speakerId}
Update speaker
curl --request PATCH \
  --url https://api.thehaystack.ai/v2/haystack/speakers/{speakerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "bio": "<string>",
  "imageFilename": "<string>"
}
'
{
  "speaker": {
    "id": 123,
    "name": "Pastor John Smith",
    "bio": "<string>",
    "imageUrl": "<string>",
    "imageFilename": "<string>",
    "itemCount": 123
  }
}

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

application/json
name
string
bio
string | null
imageFilename
string | null

Use /speakers/{id}/image/upload to set this

Response

200 - application/json

Updated speaker

speaker
object