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.workers.checkCallable({
phoneNumber: '+1 (954) 580-2181',
timestamp: 1730822400,
});
console.log(response.callable);{
"callable": true
}Checks if a phone number is callable at a specific timestamp by:
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.workers.checkCallable({
phoneNumber: '+1 (954) 580-2181',
timestamp: 1730822400,
});
console.log(response.callable);{
"callable": true
}API key authentication
Callable status
Whether the phone number is callable at the given time