RelayStack icon

RelayStack

Interact with Telegram API Gateway

Instance → Verify Code

AI-generated

Summary

Verify a login OTP code for a RelayStack instance

Inputs

  • instanceId (required) — UUID of the instance (obtained from Create or List)
  • code (required) — OTP code received via Telegram

Output shape

object

Returns the API response from the /instances/{instanceId}/auth/verify-code endpoint, typically indicating whether the code is valid.

Examples

Example 1: After sending a login code via the Send Login Code operation, the user enters the received OTP.

Set resource=Instance, operation=Verify Code, provide the instanceId from a previous Create/List step and the code entered by the user.

Links

Discussion