Skip to main content
POST
/
api
/
team
/
assets
/
purchase_phone_numbers
JavaScript
import BrainbaseLabs from 'brainbase-labs';

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

await client.team.assets.purchasePhoneNumbers({ phoneNumbers: ['string'] });

Authorizations

x-api-key
string
header
required

API key authentication

Body

application/json
phoneNumbers
string[]
required

Array of phone numbers to purchase in E.164 format.

Response

Purchase results.