Verify Authentication

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:

FieldTypeDescription
statusBooleanValidates the token
codeIntegerInternal code, success if 200
msgStringA description of the status of the token
dataJSONAny extra data

Example response

{
    "status": true,
    "code": 200,
    "msg": "User logged in",
    "data": {}
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!