Skip to main content
GET
/
api
/
v1
/
user
/
terms
Retrieve Terms and Conditions Status
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.valox.co/api/v1/user/terms', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "terms": [
    {
      "type": "general-tos",
      "currentVersion": "TOS_GENERAL_VERSION_1",
      "accepted": true,
      "acceptedVersion": "TOS_GENERAL_VERSION_1",
      "acceptedAt": "2024-08-20T12:34:56Z",
      "url": "https://help.valox.co/hc/en-us/articles/39723036951444-ValoX-WebApp-Terms-of-Service"
    },
    {
      "type": "card-monavate-tos",
      "currentVersion": "TOS_CARD_VERSION_1",
      "accepted": false,
      "url": "https://help.valox.co/hc/en-us/articles/39726634253076-Monavate-Cardholder-Terms-EEA"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successfully retrieved terms status

terms
object[]