Appwrite is now available as a DigitalOcean 1-click app! Click to install! 🚀
Docs

Token Object

Properties

Name Type Description
$id string

Token ID.

$createdAt string

Token creation date in ISO 8601 format.

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 string

Token expiration date in ISO 8601 format.

Examples

JSON

{
    "$id": "bb8ea5c16897e",
    "$createdAt": "2020-10-15T06:38:00.000+00:00",
    "userId": "5e5ea5c168bb8",
    "secret": "",
    "expire": "2020-10-15T06:38:00.000+00:00"
}