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. |
phrase | string | Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email. |
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",
"phrase": "Golden Fox"
}
JSON
{
"_id": "bb8ea5c16897e",
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"userId": "5e5ea5c168bb8",
"secret": "",
"expire": "2020-10-15T06:38:00.000+00:00",
"phrase": "Golden Fox"
}