Skip to content

Get User Notification Settings

Request

The method allows you to get notification settings for a particular location user.

Security
BearerPartnerUser
Path
location_idnumberrequired

location ID

user_idnumberrequired

User ID

Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer bearer_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/notification_settings/{location_id}/users/{user_id}' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status

Example:true
dataobject

Object with data

Example:
{ "mode": "staff", "notification_types": [ {}, {}, {}, {}, {} ] }
metaArray of objects

Metadata (empty array)

Example:
[]
Response
{ "success": true, "data": { "mode": "staff", "notification_types": [] }, "meta": [] }