Announcing the Appwrite OSS Fund, Learn More! 🤑
Docs

Token Object

Properties

Name Type Description
$id string

Token ID.

userId string

User ID.

secret string

Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.

expire integer

Token expiration date in Unix timestamp.

Examples

JSON

{
    "$id": "bb8ea5c16897e",
    "userId": "5e5ea5c168bb8",
    "secret": "",
    "expire": 1592981250
}