Returns a paged list of contacts for the current account. Supports search, contact type filtering, sorting, and pagination. Pagination defaults to PageNumber 1 and PageSize 10 when values are missing or less than or equal to 0.
Success
Not Authorized to access this endpoint or your HMAC hash was incorrect.
This action requires an active subscription.
You do not have permission for this API call.
{- "people": [
- {
- "id": 0,
- "partyType": "Undefined",
- "contactType": "Undefined",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "contactEmail": "string",
- "contactEmailCC": "string",
- "contactPhone": "string"
}
], - "peopleCount": 0
}Creates a contact in the current account. PartyType, ContactType, and FirstName are required. CompanyName is also required when PartyType is Company.
Success
Not Authorized to access this endpoint or your HMAC hash was incorrect.
This action requires an active subscription.
You do not have permission for this API call.
{- "notes": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "primaryLocation": {
- "contactFirstName": "string",
- "contactLastName": "string",
- "contactPhoneNumber": "string",
- "contactEmail": "string",
- "isPrimary": true,
- "isBilling": true,
- "id": 0,
- "street": "string",
- "suite": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string",
- "stateAbbrev": "string",
- "country": "string",
- "phone": "string"
}, - "billingLocation": {
- "contactFirstName": "string",
- "contactLastName": "string",
- "contactPhoneNumber": "string",
- "contactEmail": "string",
- "isPrimary": true,
- "isBilling": true,
- "id": 0,
- "street": "string",
- "suite": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string",
- "stateAbbrev": "string",
- "country": "string",
- "phone": "string"
}, - "proposalCount": 0,
- "paymentCount": 0,
- "id": 0,
- "partyType": "Undefined",
- "contactType": "Undefined",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "contactEmail": "string",
- "contactEmailCC": "string",
- "contactPhone": "string"
}Returns the contact details for the specified person. PrimaryLocation and BillingLocation are included when available. When IncludeCounts is true, the response also includes proposal and payment counts for the contact.
Success
Person not found.
Not Authorized to access this endpoint or your HMAC hash was incorrect.
You do not have permission for this API call.
{- "notes": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "primaryLocation": {
- "contactFirstName": "string",
- "contactLastName": "string",
- "contactPhoneNumber": "string",
- "contactEmail": "string",
- "isPrimary": true,
- "isBilling": true,
- "id": 0,
- "street": "string",
- "suite": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string",
- "stateAbbrev": "string",
- "country": "string",
- "phone": "string"
}, - "billingLocation": {
- "contactFirstName": "string",
- "contactLastName": "string",
- "contactPhoneNumber": "string",
- "contactEmail": "string",
- "isPrimary": true,
- "isBilling": true,
- "id": 0,
- "street": "string",
- "suite": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string",
- "stateAbbrev": "string",
- "country": "string",
- "phone": "string"
}, - "proposalCount": 0,
- "paymentCount": 0,
- "id": 0,
- "partyType": "Undefined",
- "contactType": "Undefined",
- "firstName": "string",
- "lastName": "string",
- "companyName": "string",
- "contactEmail": "string",
- "contactEmailCC": "string",
- "contactPhone": "string"
}Returns the contact's locations. Results are ordered with the primary location first, then the billing location, then the most recently modified locations. Pagination defaults to PageNumber 1 and PageSize 10. When PageNumber is less than or equal to 0, all matching locations are returned.
Success
Not Authorized to access this endpoint or your HMAC hash was incorrect.
You do not have permission for this API call.
{- "contactLocations": [
- {
- "contactFirstName": "string",
- "contactLastName": "string",
- "contactPhoneNumber": "string",
- "contactEmail": "string",
- "isPrimary": true,
- "isBilling": true,
- "id": 0,
- "street": "string",
- "suite": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string",
- "stateAbbrev": "string",
- "country": "string",
- "phone": "string"
}
], - "locationCount": 0
}Adds a location to the specified contact. Street is required. When Country is provided, State is also required. Use IsPrimary to make the new location the primary location and IsBilling to make it the billing location.
Success
Not Authorized to access this endpoint or your HMAC hash was incorrect.
This action requires an active subscription.
You do not have permission for this API call.
This person does not exists.
{- "contactFirstName": "string",
- "contactLastName": "string",
- "contactPhoneNumber": "string",
- "contactEmail": "string",
- "isPrimary": true,
- "isBilling": true,
- "id": 0,
- "street": "string",
- "suite": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string",
- "stateAbbrev": "string",
- "country": "string",
- "phone": "string"
}