Skip to main content
POST
/
short-token
/
generate
Generate Short Token
curl --request POST \
  --url https://apiweb.mile.app/api/v3/short-token/generate \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Success.",
  "data": {
    "shortToken": "abc123def456ghi789",
    "expiresAt": 1705732800
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.mileapp.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Success

status
boolean

Status of response.

message
string

Message of API response.

data
object

Short token data.