⚙️API Integrazione
Customerarea
Autorizzazione
1 min
{ "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" } }