Authentication
Verify a Vector Pro bearer token and read back the account it belongs to — the whoami endpoint every integration starts with.
GET/api/v1/auth/whoami
Get authenticated user details
Returns the current user, active API token, and current account.
Request
curl -X GET \
"https://api.builtfast.com/api/v1/auth/whoami" \
-H "Authorization: Bearer $API_KEY" \
-H "Accept: application/json"$response = $vectorPro
->api.v1.auth.whoami
->get();const response = await vectorPro
.api.v1.auth.whoami
.get();Response
application/json
{
"data": {
"user": {
"id": 1,
"name": "John Doe",
"email": "john@example.com"
},
"token": {
"name": "vector-cli",
"abilities": [
"*"
],
"expires_at": null,
"last_used_at": "2026-03-14T12:00:00.000000Z"
},
"account": {
"id": 1,
"name": "Acme Inc"
}
},
"message": "Success",
"http_status": 200
}{
"message": "Unauthenticated."
}