get https://api.myvendy.com/auth/status
API endpoint to verify the authenticity of your access and secret key. A true
status and a 200
code in the response validates the token. The endpoint requires that the token is sent in the header in the format:
AccessKey: <ACCESS_KEY>
SecretKey: <SECRET_KEY>
Example request
curl --location 'https://api.myvendy.com/auth/status' \
--header 'AccessKey: $ACCESS_KEY'
--header 'SecretKey: $SECRET_KEY'
Response:
Field | Type | Description |
---|---|---|
status | Boolean | Validates the token |
code | Integer | Internal code, success if 200 |
msg | String | A description of the status of the token |
data | JSON | Any extra data |
Example response
{
"status": true,
"code": 200,
"msg": "User logged in",
"data": {}
}