Create Account
POST/crm/accounts
Create account for a specified user and credential set
Request
Query Parameters
The ID of the credential.
Header Parameters
Default value: bearer YOUR_API_KEY
- application/json
Body
Array [
]
Array [
]
The name of the account, often the business or client's name.
The name or identifier of the individual or team responsible for managing the account.
A brief summary or description of the account.
The industry sector to which the account belongs.
The URL of the account's website.
The number of employees in the account's organization.
addresses
object[]
An array of address objects related to the account.
The type of the address (e.g., shipping, billing).
The first line of the address.
The second line of the address.
The city of the address.
The state of the address.
The country subdivision of the address.
The country of the address.
The postal/zip code of the address.
phoneNumbers
object[]
An array of phone number objects associated with the account.
The type of the phone number (e.g., primary, secondary).
The phone number.
An object containing remote fields that are not supported by the common model. The keys are the names of the fields of the corresponding resource in the remote app, and the values can be strings, numbers, arrays or objects.
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
Array [
]
Array [
]
account
object
addresses
object[]
phoneNumbers
object[]
Default value: 0
Default value: true
{
"account": {
"website": "http://kingmanufacturing.com",
"industry": "Manufacturing",
"addresses": [
{
"country": "United States",
"street1": "228 Runamuck Pl #2808",
"state": "MD",
"city": "Baltimore",
"addressType": "main",
"postalCode": "21224"
}
],
"phoneNumbers": [
{
"phoneNumberType": "main",
"phoneNumber": "555-555-5555"
}
],
"remoteId": "0000000000000000000",
"lastActivityAt": "2022-11-16T19:55:59+08:00",
"accountOwner": "Gregg Mojica",
"accountName": "King (Sample)",
"numberOfEmployees": 445,
"description": "King is a multinational electronics contract manufacturing company with its headquarters in Baltimore, United States.",
"id": "00000000-0000-0000-0000-000000000000",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
{
"account": {
"website": "http://kingmanufacturing.com",
"industry": "Manufacturing",
"addresses": [
{
"country": "United States",
"street1": "228 Runamuck Pl #2808",
"state": "MD",
"city": "Baltimore",
"addressType": "main",
"postalCode": "21224"
}
],
"phoneNumbers": [
{
"phoneNumberType": "main",
"phoneNumber": "555-555-5555"
}
],
"remoteId": "0000000000000000000",
"lastActivityAt": "2022-11-16T19:55:59+08:00",
"accountOwner": "Gregg Mojica",
"accountName": "King (Sample)",
"numberOfEmployees": 445,
"description": "King is a multinational electronics contract manufacturing company with its headquarters in Baltimore, United States.",
"id": "00000000-0000-0000-0000-000000000000",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
{}
{}