API Method

Data Structure

Field nameData TypeField description
userEmailstringThe user email
passwordstringpassword

API Token Response

Response code 200 will contain a JSON file with the following token key and token value

Field nameData TypeField description
tokenStringAPI token String

Error Message
Error codeReason
401-Unauthorized
Wrong user e-mail or wrong password
401-Unauthorized
Token validity expired – need to refresh the token
403- ForbiddenUnauthorized scope request

Sample Code

Postman

CURL

curl --location --request POST 'https://developers.3dsignals.io/api/v1/security/getAPIToken' \
--header 'Content-Type: application/json' \
--data-raw '{
    "userEmail": "******@3dsignals.com",
    "password": "*****"
}'

python

import requests

url = "https://developers.3dsignals.io/api/v1/security/getAPIToken"
payload="{\n    \"userEmail\": \"******@3dsignals.com\",\n    \"password\": \"*****\"\n}"
headers = {
  'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)