Authorizations
API key authentication
Response
Phone number registered successfully.
import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
  apiKey: 'My API Key',
});
const response = await client.team.assets.registerPhoneNumber({
  integrationId: 'integrationId',
  phoneNumber: 'phoneNumber',
});
console.log(response.id);{
  "id": "<string>",
  "phoneNumber": "<string>",
  "provider": "<string>",
  "integrationId": "<string>",
  "workerId": "<string>",
  "teamId": "<string>",
  "countryCode": "<string>",
  "callerName": "<string>",
  "metadata": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
  apiKey: 'My API Key',
});
const response = await client.team.assets.registerPhoneNumber({
  integrationId: 'integrationId',
  phoneNumber: 'phoneNumber',
});
console.log(response.id);{
  "id": "<string>",
  "phoneNumber": "<string>",
  "provider": "<string>",
  "integrationId": "<string>",
  "workerId": "<string>",
  "teamId": "<string>",
  "countryCode": "<string>",
  "callerName": "<string>",
  "metadata": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}API key authentication
Phone number registered successfully.