For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get server timestamp

Returns the current UR server timestamp. Use it to compute the signature deadline for Full Auth requests. No authentication required.

get
/api/v1/timestamp
Responses
200

Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.

application/json

Standard response envelope for the user API (api.ur.app).

retCodeinteger · int64Required

0 on success; non-zero indicates failure.

retMsgstringRequired

Human-readable message; error details when retCode is non-zero.

resultanyOptional

Business payload. Shape depends on the endpoint; some endpoints return it as a JSON-encoded string.

timeNowinteger · int64Optional

Server timestamp in milliseconds.

get/api/v1/timestamp
GET /api/v1/timestamp HTTP/1.1
Host: api.ur.app
Accept: */*
200

Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.

{
  "retCode": 0,
  "retMsg": "success",
  "result": "{}",
  "timeNow": 1703123456789
}

Last updated