Sign in

View segment

documented

Retrieve a segment's details.

GET /apps/{app_id}/segments/{segment_id}Segmentsno 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://api.onesignal.com/apps/{{$app_id}}/segments/{{$segment_id}}" \
  -X GET \
  -H "Authorization: Key {{ONESIGNAL_API_KEY}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"