Sign in

Search related posts

documented

Search within a site for related posts.

POST /sites/{site}/posts/{post}/relatedPostsno 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}}/posts/{{$post}}/related" \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  --data-urlencode 'size={{$size}}'
Search related posts · WordPress.com · OpenIntegrations