Skip to content
FreeTicketDocs
Esc
↑↓navigate↵open⌘Jpreview

Request an access code to sign in (or create an account)

Public endpoint (no auth): credential bootstrap for the Device Authorization Grant (RFC 8628).

POST/customer/auth/request
Request body
requiredapplication/json
emailstring<email>required
matches ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
Responses
202

OK

dataCustomerAuthRequestResultrequired
Show properties
statusstringrequired
sent_tostringrequired

Masked email (c***@mail.com). Never the full address.

expires_inintegerrequired

Code lifetime, in seconds.

min -9007199254740991 · max 9007199254740991
401

Missing or invalid credential.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsany
403

Insufficient role or resource not accessible.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsany
404

Resource does not exist or is out of scope.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsany
422

Operation error.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsany
429

Too many requests: rate limit exceeded.

errorobjectrequired
Show properties
codestringrequired
messagestringrequired
retryablebooleanrequired
detailsany
Try it
Server
Bodyapplication/json
Request
curl -X POST 'https://admin.appfreeticket.com/api/v1/customer/auth/request' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "user@example.com"
}'
Response
{
  "data": {
    "status": "sent",
    "sent_to": "string",
    "expires_in": -9007199254740991
  }
}