cURL
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 } }
Enter your API token from the Haystack dashboard
Use /speakers/{id}/image/upload to set this
Updated speaker
Show child attributes