Skip to main content
GET
/
api
/
team
/
subaccount-credentials
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
});

const response = await client.team.retrieveSubaccountCredentials();

console.log(response.accountSid);
{
  "accountSid": "<string>",
  "authToken": "<string>"
}

Authorizations

x-api-key
string
header
required

API key authentication

Response

Subaccount credentials

accountSid
string
authToken
string