import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
apiKey: process.env['BRAINBASE_LABS_API_KEY'], // This is the default and can be omitted
});
const response = await client.team.assets.listPhoneNumbers();
console.log(response);[
{
"id": "<string>",
"phoneNumber": "<string>",
"provider": "<string>",
"integrationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"workerId": "<string>",
"teamId": "<string>",
"countryCode": "<string>",
"callerName": "<string>",
"metadata": {}
}
]import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
apiKey: process.env['BRAINBASE_LABS_API_KEY'], // This is the default and can be omitted
});
const response = await client.team.assets.listPhoneNumbers();
console.log(response);[
{
"id": "<string>",
"phoneNumber": "<string>",
"provider": "<string>",
"integrationId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"workerId": "<string>",
"teamId": "<string>",
"countryCode": "<string>",
"callerName": "<string>",
"metadata": {}
}
]API key authentication
Filter phone numbers by integration id.
List of phone numbers.