Sign in

Get site headers (theme)

documented

Get the custom header options for a site with a particular theme.

GET /sites/{site}/headers/{theme_slug}Sitesno implementation yet0 runs
No 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://public-api.wordpress.com/rest/v1.1/sites/{{$site}}/headers/{{$theme_slug}}?context={{$context}}&display={{$display}}&http_envelope={{$http_envelope}}&header_text={{$header_text}}&random_default={{$random_default}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json"