Resources

Opportunities

An opportunity is a lead or potential project. Once approved, an opportunity becomes a project, both share the same record, distinguished by the approval_status field.

POST/v1/opportunities

Create an opportunity

Creates a new opportunity in your workspace. Every field is optional, you can create a blank opportunity and fill it in later via the dashboard.

Body parameters

NameTypeDescription
contact_namestringDisplay name of the customer or company. Shown on cards and in lists.
primary_contact_iduuidLink this opportunity to an existing contact in your workspace.
valuenumberEstimated dollar value. Must be non-negative.
lead_sourcestringWhere the lead came from (free text, e.g. "Referral", "Google").
appointment_atstringISO 8601 timestamp for the first appointment.
address_streetstringJob site street address.
address_citystringJob site city.
address_statestringJob site state.
address_zipstringJob site ZIP / postal code.
address_countrystringJob site country.
sales_rep_iduuidWorkspace user assigned as sales rep.
project_manager_iduuidWorkspace user assigned as project manager.
ar_owner_iduuidWorkspace user assigned as AR owner.
pipeline_iduuidPipeline to place the opportunity in. Defaults to the workspace default opportunity pipeline.
stage_iduuidSpecific pipeline stage. If omitted, the first stage of the pipeline is used.
tagsstring[]Array of tag strings.

Returns

HTTP 201 Created with the full opportunity object.

GET/v1/opportunities

List opportunities

Returns opportunities in your workspace, most recently created first.

Query parameters

NameTypeDescription
qstringFree-text search across name and contact_name.
contact_namestringFilter by contact_name (substring match).
approval_statusenumOne of: opportunity, project, archived.
limitnumberMax records to return. 1–100. Default 25.