Create Opportunity
Create a new opportunity with required and optional fields.
Required fields:
- `title`: Opportunity title/name
- `address`: Opportunity location
- `trades`: Array of trade types
Optional fields:
- `accountId`: Link to existing account
- `workflowId`: Link to workflow
- `phaseId`: Link to phase
- `value`: Opportunity value
- `size`: Opportunity size
- `confidence`: Confidence score (0-100)
- `primaryEmail`/`primaryPhone`: Contact information
- `contacts`: Contact IDs only (no name, email, phone, etc.). The contacts must be created first via POST /contacts.
- `custom`: Custom fields object
Note: If primaryEmail or primaryPhone is provided, a contact will be automatically created or matched.
**Note:** The `/requests` path is an alias for `/opportunities` and will continue to work until users are individually notified and migrated.
Authentication
x-api-keystring
API Key authentication via header
Query parameters
allow_new_options
Whether to allow creation of new dropdown options during record creation
match_by
Field to use for matching existing records
Allowed values:
match_found_strategy
Strategy to use when a match is found
Allowed values:
Request
This endpoint expects an object.
title
Opportunity title/name
address
An array containing a single string, which represents the full opportunity location/address.
trades
Array of trade types
description
Opportunity description
workflowId
ID of associated workflow
value
Project value
size
Project size
status
Status of the project:
ACTIVE- Project is active and in progressON_HOLD- Project is temporarily pausedCANCELLED- Project has been cancelledCOMPLETED- Project has been completed
Allowed values:
primaryEmail
Primary contact email
primaryPhone
Primary contact phone
contacts
Contact IDs only (no name, email, phone, etc.). The contacts must be created first via POST /contacts.
custom
Custom fields
Response
Matching opportunity found
id
Unique identifier
createdAt
Creation timestamp
updatedAt
Last update timestamp
title
Record title/name
description
Record description
address
An array containing a single string, which represents the full opportunity location/address.
isActive
Whether the record is active
primaryEmail
Primary contact email
primaryPhone
Primary contact phone
number
Sequential opportunity number
custom
Custom fields
trades
Array of trade types
value
Deal value
size
Deal size
confidence
Deal confidence score (0-100)
workflowId
Associated workflow ID
accountId
Associated account ID
createdById
Identifier of the user who created the opportunity
geoLocation
Latitude/Longitude in “lat,lon” format
imageUrl
Image URL for the opportunity
streetViewUrl
Street view image URL
city
zipcode
state
street
phase
phaseInstances
Ordered list of phase instances for the opportunity
owner
salesRep
projectManager
jurisdiction
lastActivity
phaseId
workflowName
Name of the associated workflow.
Errors
400
Bad Request Error
401
Unauthorized Error
