curl --request POST \
--url https://services.leadconnectorhq.com/businesses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"name": "Microsoft",
"locationId": "5DP4iH6HLkQsiKESj6rh",
"phone": "+18832327657",
"email": "john@deo.com",
"website": "www.xyz.com",
"address": "street adress",
"city": "new york",
"postalCode": "12312312",
"state": "new york",
"country": "us",
"description": "business description"
}
'{
"success": true,
"buiseness": {
"id": "63771dcac1116f0e21de8e12",
"name": "Microsoft",
"locationId": "<string>",
"phone": "<string>",
"email": "abc@microsoft.com",
"website": "microsoft.com",
"address": "<string>",
"city": "<string>",
"description": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "united states",
"updatedBy": {},
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Create Business
curl --request POST \
--url https://services.leadconnectorhq.com/businesses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"name": "Microsoft",
"locationId": "5DP4iH6HLkQsiKESj6rh",
"phone": "+18832327657",
"email": "john@deo.com",
"website": "www.xyz.com",
"address": "street adress",
"city": "new york",
"postalCode": "12312312",
"state": "new york",
"country": "us",
"description": "business description"
}
'{
"success": true,
"buiseness": {
"id": "63771dcac1116f0e21de8e12",
"name": "Microsoft",
"locationId": "<string>",
"phone": "<string>",
"email": "abc@microsoft.com",
"website": "microsoft.com",
"address": "<string>",
"city": "<string>",
"description": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "united states",
"updatedBy": {},
"createdBy": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 "Microsoft"
"5DP4iH6HLkQsiKESj6rh"
"+18832327657"
"john@deo.com"
"www.xyz.com"
"street adress"
"new york"
"12312312"
"new york"
"us"
"business description"
Was this page helpful?