Skip to main content

Uniphore Customer Portal

Fetch Nonce Token

A nonce token is used to protect API’s from data reply attacks. Whenever a delete request is received, a new nonce token will be sent.

A nonce-token is required for all U-Assist API requests except GET method if the request is made through gateway service.

Endpoint

Method: GET

URL: https://uassist-gateway-api.us.cloud.uniphore.com/backend/v2/refresh/api-token?environment=<environment_name>

Request
curl -X GET "https://uassist-gateway-api.us.cloud.uniphore.com/backend/v2/refresh/api-token?environment=dev" -H  "accept: */*"
Header Parameter

Parameter Name

Description

Data Type

Value

Authorization

Access token should be sent with all client requests. The access token helps the platform services to get the user information from auth0.

You can pass user authorization token which is generated from auth0.

String

Bearer <token>

Query Parameter

Parameter Name

Description

Data Type

Required / Optional

environment

Operating environment type. Three out-of-the-box environments are provided for each account:

  • DEV

  • TEST

  • PROD

String

Optional

Example Response
{
    "data": "hYuDOuy8X0li8ZGBNPITakAtpi5tQ8ZY/rQ8GiAWfPc=",
    "errors": ""
}