Sign in

Send two-step code via SMS

documented

Sends a two-step code via SMS to the current user.

POST /me/two-step/sms/newUsersno 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/me/two-step/sms/new?context={{$context}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"context": "{{$context}}", "note": "{{$note}}"}'