---
title: Autenticação
slug: pt/autenticacao
docTags: 
createdAt: 2022-03-02T10:50:22.000Z
---



:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://api.fsflt.net/customerarea/auth/token",
  "name": "Create auth Token",
  "method": "GET",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "X-API-KEY",
        "type": "string",
        "description": ""
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "customer_code",
        "type": "string",
        "description": "ID of the cake to get"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "dkcMSvJpG55fDm1yzudLH",
        "code": "{\n    \"code\": 200,\n    \"content\": {\n        \"token\": *AUTH_TOKEN*,\n        \"expiration\": \"15 min\"\n    }\n}",
        "language": "200"
      },
      {
        "id": "L9mU1msp6gGzH0do5DWnu",
        "code": "# The user cannot login to the web panel #\n{\n    \"code\": 401,\n    \"content\": []\n}",
        "language": "404"
      }
    ],
    "selectedLanguageId": "dkcMSvJpG55fDm1yzudLH"
  },
  "examples": {
    "languages": [
      {
        "id": "CTZaKtcF2v9hb_mb6Rlrm",
        "code": "# With this token you can create a one-time link that will authenticate your customer, valid until expired.\n\n# The token is already URL-Encoded.\n\n# To create a one-time link, use:\n# - https://cloud.flashstart.com/?auth_token=YOUR_AUTH_TOKEN\n\n# If you have a whitelabel, you can use:\n# - https://WHITELABEL/?auth_token=YOUR_AUTH_TOKEN\n\n\n_________________________________________________________________________________________________________________\n\ncurl -X 'GET' \\\n  'https://api.fsflt.net/customerarea/auth/token' \\\n  -H 'accept: application/json' \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-KEY: YOUR_API_KEY\" \\\n  -d '{YOUR_PARAM}'",
        "language": "shell"
      }
    ],
    "selectedLanguageId": "CTZaKtcF2v9hb_mb6Rlrm"
  },
  "description": "Create a temporary auth Token ",
  "currentNewParameter": {
    "label": "Header Parameter",
    "value": "headerParameters"
  },
  "autoGeneratedAnchorSlug": "create-auth-token",
  "legacyHash": "j0UbjGD6VJNGTOLIsLLSe"
}
```
:::

