Getting a token

In order to access our API, you must obtain an access token when authenticating a user. Once the token is generated, copy its value and save it in a secure place, since you will not be able to retrieve it again.

To generate an access token, you must send a POST request using the token URL.

name="ENTER_YOUR_NAME"
email="ENTER_YOUR_EMAIL"
comment="ENTER_YOUR_COMMENT"

curl -X 'POST' \
  'https://api.metahumansdk.io/auth/token' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'name=${name}&mail=${email}&comment=${comment}'

Expected output:

{'result': {'token': '5775d7ad-d1d3-4aea-83cf-1c14512f70cc'}}

We promise not to spam you and keep your email private, you will only receive important updates from us.

Last updated