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. |
Example
JSON
{
"$id": "bb8ea5c16897e",
"$createdAt": "2020-10-15T06:38:00.000+00:00",
"userId": "5e5ea5c168bb8",
"secret": "",
"expire": "2020-10-15T06:38:00.000+00:00"
}
JSON
{
"_id": "bb8ea5c16897e",
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"userId": "5e5ea5c168bb8",
"secret": "",
"expire": "2020-10-15T06:38:00.000+00:00"
}