Create site script
documentedCreate a new site script.
POST /site_scriptsSite Scriptsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.thinkific.com/api/public/v1/site_scripts" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"{{$name}}","description":"{{$description}}","location":"{{$location}}","category":"{{$category}}","page_scope":{{$pages}},"src":"{{$src}}","content":"{{$content}}","enabled":true}'