Skip to main content
GET
/
v1
/
profiles
/
{id}
Get Profile
curl --request GET \
  --url https://api.bctrl.ai/v1/profiles/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "status": "<string>",
  "currentDriver": "<string>",
  "humanize": true
}
id
string
required
Profile ID.

Examples

import { Bctrl } from '@bctrl/sdk';
const bctrl = new Bctrl({ apiKey: process.env.BCTRL_API_KEY! });

const profile = await bctrl.profiles.get('prof_abc123');
console.log(profile.name, profile.status);

Response

id
string
required
Profile ID.
name
string
required
Profile name.
status
string
required
Current status.
currentDriver
string
Currently connected driver.
humanize
boolean
Whether humanization is enabled.

Errors

CodeDescription
404Profile not found