Account by ID API
Get detailed information about a specific account including metadata, scoring, and recent activity. Useful for displaying account detail pages or syncing account data with external systems.
GET /accounts/{id}
Returns comprehensive data for a single account.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Account ID or domain |
Example
curl -X GET "https://api.leadvibe.com/accounts/acct_abc123" \
-H "Authorization: Bearer <token>"
Response
200 OK
{
"account_id": "acct_abc123",
"domain": "acme.com",
"name": "Acme Corporation",
"account_score": 85,
"account_level": "Target",
"total_leads": 12,
"engagement_score": 245,
"last_activity_at": "2026-01-30T14:23:00Z",
"surge_active": true,
"surge_window_start": "2026-01-28T00:00:00Z",
"surge_event_count": 47,
"metadata": {
"company_size": "Enterprise",
"industry": "Technology",
"country": "United States",
"employees": 2500,
"revenue": 50000000,
"plan": "Pro",
"account_status": "Customer"
},
"created_at": "2025-11-15T10:00:00Z",
"updated_at": "2026-01-30T14:23:00Z"
}
Response Fields
| Field | Type | Description |
|---|---|---|
account_id | string | Unique account identifier |
domain | string | Primary email domain |
name | string | Account name (company name) |
account_score | integer | Firmographic score |
account_level | string | Account tier |
total_leads | integer | Number of associated contacts |
engagement_score | integer | Combined engagement score |
last_activity_at | timestamp | Most recent activity |
surge_active | boolean | Whether currently in surge |
surge_window_start | timestamp | Surge window start (if active) |
surge_event_count | integer | Events during surge (if active) |
metadata | object | Account metadata (firmographic attributes) |
created_at | timestamp | Account creation time |
updated_at | timestamp | Last update time |
Common Errors
| Status | Meaning | Solution |
|---|---|---|
| 401 | Unauthorized | Check authentication credentials |
| 404 | Not Found | Account does not exist or is not accessible |
| 500 | Server Error | Contact support if the issue persists |
Notes
- Account ID can be found in the account list or derived from
account_idon leads - Account metadata comes from Account Field Mappings
- Surge data is available when surge detection is enabled for your organization
Related Endpoints
- GET /accounts - List all accounts
- GET /accounts/{accountId}/engagement-timeline - Activity timeline
- GET /accounts/{accountId}/surge-history - Surge history
- DELETE /accounts/batch - Delete accounts
Related Documentation
- Account Management - Working with accounts
- Account Scoring Rules - Understanding account scores
- ABM Overview - Account-Based Marketing overview