Skip to main content

Request token resend

A new token will be generated and sent to the approver responsible for creating the device (only for email or SMS contact cases). If the token validation attempt limit is exceeded, resending will not be allowed.

Request

ENDPOINT
/account/ACCOUNT_KEY/device/DEVICE_KEY/resend_token
METHOD
PATCH

Path Params

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account identification key.36
device_keyuuidv4Unique device identification key.36

Body Params

FieldTypeDescriptionCharacters
contact_type*stringIndicates the contact method with the person responsible for account approval. Possible values are sms, emailcontact_type Enumerator
Information

If no contact_type is sent, the token will be sent in the originally requested format.

EnumeratorDescription
smsSend via Text Message to mobile phone
emailSend via electronic mail

Response

STATUS
202
Response Body: Resend Requested
{
"device_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"device_status": "pending_2fa_approval",
"created_at": "2024-12-22T20:30:23.459Z"
}
STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (ptbr)
translation
400QIT000001Bad RequestSchema ErrorErro de Schema
404OBD000002Not FoundBank account not foundConta não encontrada
400OBD000088Bad RequestAccount blocked or closed can not perform this actionA conta bloqueada ou fechada não pode executar esta ação
400OBD000089Bad RequestHub account can not perform this actionA conta hub não pode executar esta ação
400OBD000097Error occurred while sending tokenAn unexpected error occurred while sending tokenUm erro inexperado ocorreu ao tentar enviar token
400OBD000099Number of token validation attempts exceededThe maximum number of failed token validation attempts has been reachedNúmero máximo de tentativas de validação de token atingida
404OBD000100Device not foundNo device is associated with the provided device_key.Nenhum dispositivo está associado à device_key fornecida.