Skip to main content
POST
/
porting_orders
/
{id}
/
verification_codes
/
send
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

await client.portingOrders.verificationCodes.send('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Porting Order id

Body

application/json

A list of phone numbers to send the verification codes to and the method to send them by

phone_numbers
string[]
Maximum array length: 100
verification_method
enum<string>
Available options:
sms,
call

Response

No content