API Reference

Get user notification preference detail by user id and event id

This API is used to get user notification preference detail by user id and event id. It will return data like id, notificationPreference, userId, etc.

To call this API, the user has to pass query param with API URL like eventUrl and authentication key to authenticate the user.

Response

Here is the description of response attributes, which returns to the form of JSON.

AttributeDescription
id The Id returns a unique value associated with user notification preference detail.
notificationPreference This will return the list of user notification preference detail.
userId This user ID represents the unique ID of each user notification preference detail.

Error Code

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error CodeError Description
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
403Accessing the resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
40600013Cant create url
4040200No Event could be found
Language
Authorization
Header
Click Try It! to start a request and see the response here!