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.
POST
/
v2
/
bot_signup
/
resend_magic_link
JavaScript
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);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)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.BotSignup.ResendMagicLink(
context.TODO(),
telnyx.BotSignupResendMagicLinkParams{
Email: "agent-owner@example.com",
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.Data)
}
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);
}
}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)<?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();
}telnyx bot-signup resend-magic-link \
--api-key 'My API Key' \
--email agent-owner@example.comcurl --request POST \
--url https://api.telnyx.com/v2/bot_signup/resend_magic_link \
--header 'Content-Type: application/json' \
--data '
{
"email": "agent-owner@example.com"
}
'{
"success": true,
"message": "A one-time sign-in link has been sent to your email address."
}{
"errors": [
{
"detail": "There was a problem in the JSON you submitted. Please check your formatting and try again."
}
]
}{
"errors": [
{
"detail": "Your registration cannot be accepted as it does not comply with our security standards. You may contact support for assistance."
}
]
}{
"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"
}
}
]
}Body
application/json
Email address of the bot signup account to resend the magic link to.
Example:
"agent-owner@example.com"
Response
Uniform acknowledgement, returned whether or not a link was sent.
Was this page helpful?
JavaScript
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);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)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.BotSignup.ResendMagicLink(
context.TODO(),
telnyx.BotSignupResendMagicLinkParams{
Email: "agent-owner@example.com",
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.Data)
}
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);
}
}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)<?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();
}telnyx bot-signup resend-magic-link \
--api-key 'My API Key' \
--email agent-owner@example.comcurl --request POST \
--url https://api.telnyx.com/v2/bot_signup/resend_magic_link \
--header 'Content-Type: application/json' \
--data '
{
"email": "agent-owner@example.com"
}
'{
"success": true,
"message": "A one-time sign-in link has been sent to your email address."
}{
"errors": [
{
"detail": "There was a problem in the JSON you submitted. Please check your formatting and try again."
}
]
}{
"errors": [
{
"detail": "Your registration cannot be accepted as it does not comply with our security standards. You may contact support for assistance."
}
]
}{
"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"
}
}
]
}