CRM
List Accounts
API Documentation
Health
Files
Web Scrape
Data Source
SharePoint
GitHub
Chunks / Embeddings
Retrieval
CRM
List Accounts
POST
/
integrations
/
data
/
crm
/
accounts
curl --request POST \
--url https://api.carbon.ai/integrations/data/crm/accounts \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"data_source_id": 123,
"include_remote_data": false,
"next_cursor": "<string>",
"page_size": 123,
"order_dir": "asc",
"includes": [],
"filters": {},
"order_by": "created_at"
}'
{
"count": 123,
"next_cursor": "<string>",
"data": [
{
"id": "<string>",
"owner": {
"id": "<string>"
},
"name": "<string>",
"description": "<string>",
"industry": "<string>",
"website": "<string>",
"number_of_employees": 123,
"addresses": [
{
"street_1": "<string>",
"street_2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>",
"address_type": "<string>"
}
],
"phone_numbers": [
{
"phone_number": "<string>",
"phone_number_type": "<string>"
}
],
"last_activity_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"is_deleted": true,
"tasks": [
{
"id": "<string>",
"owner": {
"id": "<string>"
},
"subject": "<string>",
"status": "<string>",
"priority": "<string>",
"description": "<string>",
"account": {
"id": "<string>"
},
"contact": {
"id": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>",
"is_deleted": true,
"remote_data": {}
}
],
"events": [
{
"id": "<string>",
"owner": {
"id": "<string>"
},
"subject": "<string>",
"location": "<string>",
"is_all_day": true,
"start_date": "<string>",
"end_date": "<string>",
"description": "<string>",
"account": {
"id": "<string>"
},
"contact": {
"id": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>",
"is_deleted": true,
"remote_data": {}
}
],
"remote_data": {}
}
]
}
Authorizations
token <token>
, corresponds to temporary access tokens.
Body
application/json
Available options:
asc
, desc
Available options:
Tasks
, Events
Available options:
created_at
, updated_at
, number_of_employees
, name
, last_activity_at
Response
200
application/json
Successful Response
curl --request POST \
--url https://api.carbon.ai/integrations/data/crm/accounts \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"data_source_id": 123,
"include_remote_data": false,
"next_cursor": "<string>",
"page_size": 123,
"order_dir": "asc",
"includes": [],
"filters": {},
"order_by": "created_at"
}'
{
"count": 123,
"next_cursor": "<string>",
"data": [
{
"id": "<string>",
"owner": {
"id": "<string>"
},
"name": "<string>",
"description": "<string>",
"industry": "<string>",
"website": "<string>",
"number_of_employees": 123,
"addresses": [
{
"street_1": "<string>",
"street_2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "<string>",
"address_type": "<string>"
}
],
"phone_numbers": [
{
"phone_number": "<string>",
"phone_number_type": "<string>"
}
],
"last_activity_at": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"is_deleted": true,
"tasks": [
{
"id": "<string>",
"owner": {
"id": "<string>"
},
"subject": "<string>",
"status": "<string>",
"priority": "<string>",
"description": "<string>",
"account": {
"id": "<string>"
},
"contact": {
"id": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>",
"is_deleted": true,
"remote_data": {}
}
],
"events": [
{
"id": "<string>",
"owner": {
"id": "<string>"
},
"subject": "<string>",
"location": "<string>",
"is_all_day": true,
"start_date": "<string>",
"end_date": "<string>",
"description": "<string>",
"account": {
"id": "<string>"
},
"contact": {
"id": "<string>"
},
"created_at": "<string>",
"updated_at": "<string>",
"is_deleted": true,
"remote_data": {}
}
],
"remote_data": {}
}
]
}