Skip to main content

MagicToken

No description

type MagicToken {
id: String!
contactId: Int
customerId: Int
expiresAt: DateTime
lastAccessedAt: DateTime
failedLogins: Int
successfulLogins: Int
oneTimeUse: Boolean!
extra: [String!]
contact: Contact
customer: Customer
}

Fields

MagicToken.id ● String! non-null scalar

Magic token primary identifier

MagicToken.contactId ● Int scalar

Identifier of the associated contact, use either contactId or customerId

MagicToken.customerId ● Int scalar

Identifier of the associated customer, use either customerId or contactId

MagicToken.expiresAt ● DateTime scalar

Expiration date and time of the magic token

MagicToken.lastAccessedAt ● DateTime scalar

Last accessed date and time of the magic token

MagicToken.failedLogins ● Int scalar

Number of failed login attempts using the magic token

MagicToken.successfulLogins ● Int scalar

Number of successful login attempts using the magic token

MagicToken.oneTimeUse ● Boolean! non-null scalar

Indicates if the magic token is for one-time use only

MagicToken.extra ● [String!] list scalar

Additional information or metadata associated with the magic token

MagicToken.contact ● Contact object

MagicToken.customer ● Customer object

Returned By

magicToken query ● magicTokenCreate mutation ● magicTokenUpdate mutation

Member Of

MagicTokenResponse object