> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Resend a bot signup magic link

> Resends the one-time sign-in (magic) link for an eligible bot signup account. Eligibility (account exists, was registered through bot signup, is active, and has not exceeded the resend limit or rate window) is evaluated server-side; the response is intentionally uniform and does not reveal whether the account exists or whether a link was actually sent. This endpoint is public and unauthenticated, gated by the freemium feature flags and per-country availability.



## OpenAPI

````yaml /openapi/source/external/signup/bot-signup.json post /v2/bot_signup/resend_magic_link
openapi: 3.0.0
info:
  version: 1.0.0
  title: Bot Signup API
  contact:
    email: mission.control.squad@telnyx.com
servers:
  - url: https://api.telnyx.com
security: []
tags:
  - name: Bot Signup
    description: >-
      Agentic (bot) signup for Telnyx accounts. An AI agent solves a
      reverse-CAPTCHA challenge designed to be easy for LLMs and hard for
      humans, registers an account, and signs in by consuming a magic link
      emailed to the account owner. All endpoints are public and
      unauthenticated; signup endpoints are additionally gated by the freemium
      feature flags and per-country availability.
paths:
  /v2/bot_signup/resend_magic_link:
    post:
      tags:
        - Bot Signup
      summary: Resend a bot signup magic link
      description: >-
        Resends the one-time sign-in (magic) link for an eligible bot signup
        account. Eligibility (account exists, was registered through bot signup,
        is active, and has not exceeded the resend limit or rate window) is
        evaluated server-side; the response is intentionally uniform and does
        not reveal whether the account exists or whether a link was actually
        sent. This endpoint is public and unauthenticated, gated by the freemium
        feature flags and per-country availability.
      operationId: resendBotSignupMagicLink
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResendMagicLinkRequest'
            example:
              email: agent-owner@example.com
      responses:
        '200':
          description: Uniform acknowledgement, returned whether or not a link was sent.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
              example:
                success: true
                message: A one-time sign-in link has been sent to your email address.
        '400':
          description: The JSON request body could not be parsed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - detail: >-
                      There was a problem in the JSON you submitted. Please
                      check your formatting and try again.
        '403':
          description: >-
            Request blocked by security policy (for example, the caller's
            country is not accepted).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - detail: >-
                      Your registration cannot be accepted as it does not comply
                      with our security standards. You may contact support for
                      assistance.
        '404':
          description: >-
            Bot signup is not available (freemium master switch disabled or the
            caller's country is not enabled).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                errors:
                  - code: '10005'
                    title: Resource not found
                    detail: The requested resource or URL could not be found.
                    source:
                      pointer: /
                    meta:
                      url: https://developers.telnyx.com/docs/overview/errors/10005
      security: []
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Telnyx from 'telnyx';

            const client = new Telnyx({
              apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
            });

            const response = await client.botSignup.resendMagicLink({
              email: 'agent-owner@example.com',
            });

            console.log(response.success);
        - lang: Python
          source: |
            import os
            from telnyx import Telnyx

            client = Telnyx(
                api_key=os.environ.get("TELNYX_API_KEY"),  # This is the default and can be omitted
            )
            response = client.bot_signup.resend_magic_link(
                email="agent-owner@example.com",
            )
            print(response.success)
        - lang: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/team-telnyx/telnyx-go\"\n\t\"github.com/team-telnyx/telnyx-go/option\"\n)\n\nfunc main() {\n\tclient := telnyx.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tresponse, err := client.BotSignup.ResendMagicLink(\n\t\tcontext.TODO(),\n\t\ttelnyx.BotSignupResendMagicLinkParams{\n\t\t\tEmail: \"agent-owner@example.com\",\n\t\t},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", response.Data)\n}\n"
        - lang: Java
          source: >-
            package com.telnyx.sdk.example;


            import com.telnyx.sdk.client.TelnyxClient;

            import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;

            import
            com.telnyx.sdk.models.botSignup.BotSignupResendMagicLinkParams;


            public final class Main {
                private Main() {}

                public static void main(String[] args) {
                    TelnyxClient client = TelnyxOkHttpClient.fromEnv();

                    BotSignupResendMagicLinkParams params = BotSignupResendMagicLinkParams.builder()
                        .email("agent-owner@example.com")
                        .build();
                    var response = client.botSignup().resendMagicLink(params);
                }
            }
        - lang: Ruby
          source: >-
            require "telnyx"


            telnyx = Telnyx::Client.new(api_key: "My API Key")


            response = telnyx.bot_signup.resend_magic_link(email:
            "agent-owner@example.com")


            puts(response)
        - lang: PHP
          source: >-
            <?php


            require_once dirname(__DIR__) . '/vendor/autoload.php';


            use Telnyx\Client;

            use Telnyx\Core\Exceptions\APIException;


            $client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API
            Key');


            try {
              $response = $client->botSignup->resendMagicLink(
                email: 'agent-owner@example.com',
              );

              var_dump($response);
            } catch (APIException $e) {
              echo $e->getMessage();
            }
        - lang: CLI
          source: |-
            telnyx bot-signup resend-magic-link \
              --api-key 'My API Key' \
              --email agent-owner@example.com
components:
  schemas:
    ResendMagicLinkRequest:
      type: object
      properties:
        email:
          type: string
          format: email
          description: Email address of the bot signup account to resend the magic link to.
          example: agent-owner@example.com
      required:
        - email
    SuccessResponse:
      type: object
      description: Status envelope used by the signup and magic-link flows.
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          description: Whether the request was accepted.
          example: true
        message:
          type: string
          description: Human-readable status message.
          example: A one-time sign-in link has been sent to your email address.
    ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
      required:
        - errors
    Error:
      type: object
      description: >-
        API error. General errors carry only `detail`; structured errors also
        include `code`, `title`, `source`, and `meta`.
      properties:
        code:
          type: string
          description: Machine-readable Telnyx error code.
          example: '10005'
        title:
          type: string
          description: Short human-readable summary.
          example: Resource not found
        detail:
          type: string
          description: Human-readable explanation of the error.
          example: The requested resource or URL could not be found.
        source:
          type: object
          properties:
            pointer:
              type: string
              description: JSON pointer to the offending attribute.
              example: /
        meta:
          type: object
          properties:
            url:
              type: string
              description: Link to the error documentation.
              example: https://developers.telnyx.com/docs/overview/errors/10005
      required:
        - detail

````