cURL
curl --request POST \ --url https://api.thehaystack.ai/v2/haystack/scriptures \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "itemId": 123, "book": "<string>", "bookName": "<string>", "chapter": 123, "verseStart": 123, "verseEnd": 123, "keyVerse": false, "suggested": true, "accepted": true, "displayOrder": 123 } '
{ "scripture": { "id": 123, "itemId": 123, "book": "<string>", "bookName": "<string>", "chapter": 123, "verseStart": 123, "verseEnd": 123, "citation": "<string>", "keyVerse": true, "suggested": true, "accepted": true, "displayOrder": 123, "text": "<string>" } }
Enter your API token from the Haystack dashboard
Lowercase book key, e.g. "john"
Created scripture
Show child attributes