Autorizzazione
1 min
Create auth Token
Create a temporary auth Token
GET
https://api.fsflt.net/customerarea/auth/token
Header Parameters
- X-API-KEYstringrequired
Body Parameters
- customer_codestringrequiredDescription
shell
# With this token you can create a one-time link that will authenticate your customer, valid until expired.
# The token is already URL-Encoded.
# To create a one-time link, use:
# - https://cloud.flashstart.com/?auth_token=YOUR_AUTH_TOKEN
# If you have a whitelabel, you can use:
# - https://WHITELABEL/?auth_token=YOUR_AUTH_TOKEN
_________________________________________________________________________________________________________________
curl -X 'GET' \
'https://api.fsflt.net/customerarea/auth/token' \
-H 'accept: application/json' \
-H "Content-Type: application/json" \
-H "X-API-KEY: YOUR_API_KEY" \
-d '{YOUR_PARAM}'200
{
"code": 200,
"content": {
"token": *AUTH_TOKEN*,
"expiration": "15 min"
}
}404
# The user cannot login to the web panel #
{
"code": 401,
"content": []
}