Resources

â–º Set alias for subscriber V3

â–º Set Tag for subscriber V3

► Delete subscriber’s tag V3

► Get subscriber’s alias V3

â–º Send Push Notification V3

â–º Get push Notification stats

â–º Set alias for subscriber V3

Definition

Method: POST

Endpoint: *https://uapi.gravitec.net/api/v3/alias*

Request parameters:

NOTE: All request parameters names and values are case-sensitive.

Request URL example:

<https://uapi.gravitec.net/api/v3/alias?regId=someregid&name=newalias>

Responses

200 OK The alias was successfully added
400 Required String parameter "name" is not present "name" parameter was not provided in request
400 Required String parameter "regId" is not present "regId" parameter was not provided in request
422 Unprocessable Entity No follower with regID provided was found
Body:

{ "httpStatus": "UNPROCESSABLE_ENTITY", "error": "Incomplete by wrong param(s)!", "errorDescription": "There is no follower with this regId!" } | | 422 Unprocessable Entity | Provided alias name length was more than 255 symbols Body:

{ "httpStatus": "UNPROCESSABLE_ENTITY", "error": "Incomplete by wrong param(s)!", "errorDescription": "Max alias length is 255!" } |