RelayStack icon

RelayStack

Interact with Telegram API Gateway

Instance → Send Login Code

AI-generated

Summary

Send a login code to a phone number for the specified RelayStack instance.

Inputs

  • instanceId (required) — UUID of the instance (obtained from Create or List)
  • phoneNumber (required) — Phone number in international format (e.g., +1234567890)

Output shape

object

The response from the /instances/{instanceId}/auth/send-code endpoint, typically containing a success message or details about the sent code.

Examples

Example 1: Initiate Telegram login for a user

Set Instance ID from a previous Create/List node, and provide the user's phone number in the Phone Number field.

Links

Discussion