AUTH: Verify Token

This Endpoint allows a third-party system to check and verify a bearer token against the Perpetuals.com system.

The Bearer Token must be hashed as follows (in Python3):

hashed_token = hashlib.sha256(str(bearer_token).encode()).hexdigest()

AUTH: Verify Token

post

This Endpoint allows a third-party system to check and verify a bearer token against the Perpetuals.com system.

The Bearer Token must be hashed as follows (in Python3):

hashed_token = hashlib.sha256(str(bearer_token).encode()).hexdigest()

Example: The Bearer Token "TmdQRWtyUzZBbmRSRWw5enFqdTlxeEk4" will result in the hash "684287973aa05dc512f5fdb72cfd70809e31b11796d4139175041f75d0ff4af9"

Body
objectOptionalExample: {"hashed_token":"684287973aa05dc512f5fdb72cfd70809e31b11796d4139175041f75d0ff4af9"}
Responses
200

OK

application/json
Responseobject
post
/auth/verify
200

OK

Last updated

Was this helpful?