Skip to main content
GET
/
v1
/
admin
/
notifications
/
staff
/
{staffId}
/
preferences
Get staff notification preferences
curl --request GET \
  --url http://localhost:3000/v1/admin/notifications/staff/{staffId}/preferences
{
  "preferences": {
    "staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "order_received": true,
    "customer_arrived": true,
    "task_assigned": true,
    "sweep_arrived": true,
    "shift_starting": true,
    "schedule_posted": true,
    "partner_brand_application": true,
    "partner_product_application": true,
    "email_enabled": true,
    "quiet_hours_enabled": true,
    "quiet_hours_start": "<string>",
    "quiet_hours_end": "<string>",
    "suppress_while_in_app": true
  },
  "tokens": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "staff_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "token": "<string>",
      "platform": "<string>",
      "device_name": "<string>",
      "device_model": "<string>",
      "is_active": true,
      "last_used_at": "<string>",
      "error_count": 123,
      "created_at": "<string>"
    }
  ]
}

Path Parameters

staffId
string<uuid>
required

Response

Staff notification preferences and tokens

preferences
object
required
tokens
object[]
required