Companies
Create Company
Creates a new company. You can optionally include contacts in the request body to create the company with contacts in a single request. If no contacts are provided, the company will be placed in an "inactive" status until the company has primary contacts added. Once contacts are added, the company will move to "Active".
post/companies
Request
- Base URLhttps://api.pax8.com/v1
- URLhttps://api.pax8.com/v1/companies
- AuthOAuth 2Client credentialsToken URL: https://token-manager.pax8.com/oauth/token
Request body
Example request
{
"name": "Pax8",
"address": {
"street": "5500 S Quebec St",
"street2": "Ste. 350",
"city": "Greenwood Village",
"stateOrProvince": "CO",
"postalCode": "80111",
"country": "US"
},
"phone": "555-555-5555",
"website": "https://www.pax8.com/",
"contacts": [
{
"id": "18d6329e-93f9-46a5-9df7-37e4c29d2840",
"firstName": "John",
"lastName": "Doe",
"email": "john@doe.com",
"phone": "555-555-5555",
"createdDate": "2020-05-12"
}
]
}Response
Successful Company create
Example response
{
"name": "Pax8",
"address": {
"street": "5500 S Quebec St",
"street2": "Ste. 350",
"city": "Greenwood Village",
"stateOrProvince": "CO",
"postalCode": "80111",
"country": "US"
},
"phone": "555-555-5555",
"website": "https://www.pax8.com/",
"contacts": [
{
"id": "18d6329e-93f9-46a5-9df7-37e4c29d2840",
"firstName": "John",
"lastName": "Doe",
"email": "john@doe.com",
"phone": "555-555-5555",
"createdDate": "2020-05-12"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.