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

Session

Extend the life of the current user session.

A user session obtained from user/auth expires on an absolute deadline, 30 days after it was issued by default, and using the session does not push that deadline back. This operation replaces the deadline with a fresh full lifetime starting now, which is how a long-running client stays signed in without asking for credentials again. The period is a per-installation setting: see how long a session lasts.

It works only with a standard user session. Calling it with an API key returns error 4, "User or API key not found or session ended", even though the key itself is valid, because an API key never expires and has nothing to renew.

API actions

API base path: /user/session.

Operations that list no errors of their own return only the general error codes.


Renew session

post
/user/session/renew

Extend the lifetime of the current session.

A session expires on an absolute deadline set when it was created, 30 days later by default, and using the session does not push that deadline back. This operation replaces the deadline with a fresh full lifetime starting now, so a session with 2 days left and one with 29 days left both end up with the same 30 days. The period is a per-installation setting, so treat 30 days as the default rather than a constant.

An API key has no expiry and needs no renewal.

Requires a session hash. An API key is rejected with error code 4, "User or API key not found or session ended", which is misleading: the key is valid, but this operation accepts standard sessions only.

Also accepts GET with the same parameters as query-string values.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Responses
200

Session renewed

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/user/session/renew
POST /v2/user/session/renew HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true
}

More in this section

Delivery session

Endpoint
Method
What it does

POST

Create delivery session

POST

Read delivery session

Push token

Endpoint
Method
What it does

POST

Delete push token

Last updated

Was this helpful?