List opportunities

GET {{baseUrl}}/crm/opportunities?raw=false&limit=3&pass_through[search]=San Francisco

List opportunities

Request Params

KeyDatatypeRequiredDescription
rawbooleanInclude raw response. Mostly used for debugging purposes
cursorstringCursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
limitnumberNumber of results to return. Minimum 1, Maximum 200, Default 20
filter[status]stringApply filters
filter[monetary_amount]numberApply filters
sort[by]stringApply sorting
sort[direction]stringApply sorting
pass_through[search]stringOptional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
fieldsstringThe 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: fields=name,email,addresses.city<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
filter[name]null
filter[first_name]null
filter[last_name]null
filter[email]null

HEADERS

KeyDatatypeRequiredDescription
x-apideck-consumer-idstring(Required) ID of the consumer which you want to get or push data from
x-apideck-app-idstring(Required) The ID of your Unify application
x-apideck-service-idstringProvide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
Acceptstring

RESPONSES

status: OK

{&quot;status_code&quot;:200,&quot;status&quot;:&quot;OK&quot;,&quot;service&quot;:&quot;zoho-crm&quot;,&quot;resource&quot;:&quot;opportunities&quot;,&quot;operation&quot;:&quot;all&quot;,&quot;data&quot;:[{&quot;title&quot;:&quot;New Rocket&quot;,&quot;primary_contact_id&quot;:&quot;12345&quot;,&quot;id&quot;:&quot;12345&quot;,&quot;description&quot;:&quot;Opportunities are created for People and Companies that are interested in buying your products or services. Create Opportunities for People and Companies to move them through one of your Pipelines.&quot;,&quot;type&quot;:&quot;Existing Customer - Upgrade&quot;,&quot;monetary_amount&quot;:75000,&quot;currency&quot;:&quot;USD&quot;,&quot;win_probability&quot;:40,&quot;expected_revenue&quot;:75000,&quot;close_date&quot;:&quot;2020-10-30&quot;,&quot;loss_reason_id&quot;:&quot;12345&quot;,&quot;loss_reason&quot;:&quot;No budget&quot;,&quot;won_reason_id&quot;:&quot;12345&quot;,&quot;won_reason&quot;:&quot;Best pitch&quot;,&quot;pipeline_id&quot;:&quot;12345&quot;,&quot;pipeline_stage_id&quot;:&quot;12345&quot;,&quot;source_id&quot;:&quot;12345&quot;,&quot;lead_id&quot;:&quot;12345&quot;,&quot;lead_source&quot;:&quot;Website&quot;,&quot;contact_id&quot;:&quot;12345&quot;,&quot;contact_ids&quot;:[&quot;12345&quot;,&quot;12345&quot;],&quot;company_id&quot;:&quot;12345&quot;,&quot;company_name&quot;:&quot;Copper&quot;,&quot;owner_id&quot;:&quot;12345&quot;,&quot;priority&quot;:&quot;None&quot;,&quot;status&quot;:&quot;Open&quot;,&quot;status_id&quot;:&quot;12345&quot;,&quot;tags&quot;:[&quot;New&quot;],&quot;interaction_count&quot;:0,&quot;custom_fields&quot;:[{&quot;id&quot;:&quot;2389328923893298&quot;,&quot;name&quot;:&quot;employee_level&quot;,&quot;description&quot;:&quot;Employee Level&quot;,&quot;value&quot;:&quot;Uses Salesforce and Marketo&quot;},{&quot;id&quot;:&quot;2389328923893298&quot;,&quot;name&quot;:&quot;employee_level&quot;,&quot;description&quot;:&quot;Employee Level&quot;,&quot;value&quot;:&quot;Uses Salesforce and Marketo&quot;}],&quot;stage_last_changed_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;,&quot;last_activity_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;,&quot;deleted&quot;:false,&quot;date_stage_changed&quot;:&quot;2020-09-30T00:00:00.000Z&quot;,&quot;date_last_contacted&quot;:&quot;2020-09-30T00:00:00.000Z&quot;,&quot;date_lead_created&quot;:&quot;2020-09-30T00:00:00.000Z&quot;,&quot;custom_mappings&quot;:{},&quot;updated_by&quot;:&quot;12345&quot;,&quot;created_by&quot;:&quot;12345&quot;,&quot;updated_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;,&quot;created_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;},{&quot;title&quot;:&quot;New Rocket&quot;,&quot;primary_contact_id&quot;:&quot;12345&quot;,&quot;id&quot;:&quot;12345&quot;,&quot;description&quot;:&quot;Opportunities are created for People and Companies that are interested in buying your products or services. Create Opportunities for People and Companies to move them through one of your Pipelines.&quot;,&quot;type&quot;:&quot;Existing Customer - Upgrade&quot;,&quot;monetary_amount&quot;:75000,&quot;currency&quot;:&quot;USD&quot;,&quot;win_probability&quot;:40,&quot;expected_revenue&quot;:75000,&quot;close_date&quot;:&quot;2020-10-30&quot;,&quot;loss_reason_id&quot;:&quot;12345&quot;,&quot;loss_reason&quot;:&quot;No budget&quot;,&quot;won_reason_id&quot;:&quot;12345&quot;,&quot;won_reason&quot;:&quot;Best pitch&quot;,&quot;pipeline_id&quot;:&quot;12345&quot;,&quot;pipeline_stage_id&quot;:&quot;12345&quot;,&quot;source_id&quot;:&quot;12345&quot;,&quot;lead_id&quot;:&quot;12345&quot;,&quot;lead_source&quot;:&quot;Website&quot;,&quot;contact_id&quot;:&quot;12345&quot;,&quot;contact_ids&quot;:[&quot;12345&quot;,&quot;12345&quot;],&quot;company_id&quot;:&quot;12345&quot;,&quot;company_name&quot;:&quot;Copper&quot;,&quot;owner_id&quot;:&quot;12345&quot;,&quot;priority&quot;:&quot;None&quot;,&quot;status&quot;:&quot;Open&quot;,&quot;status_id&quot;:&quot;12345&quot;,&quot;tags&quot;:[&quot;New&quot;],&quot;interaction_count&quot;:0,&quot;custom_fields&quot;:[{&quot;id&quot;:&quot;2389328923893298&quot;,&quot;name&quot;:&quot;employee_level&quot;,&quot;description&quot;:&quot;Employee Level&quot;,&quot;value&quot;:&quot;Uses Salesforce and Marketo&quot;},{&quot;id&quot;:&quot;2389328923893298&quot;,&quot;name&quot;:&quot;employee_level&quot;,&quot;description&quot;:&quot;Employee Level&quot;,&quot;value&quot;:&quot;Uses Salesforce and Marketo&quot;}],&quot;stage_last_changed_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;,&quot;last_activity_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;,&quot;deleted&quot;:false,&quot;date_stage_changed&quot;:&quot;2020-09-30T00:00:00.000Z&quot;,&quot;date_last_contacted&quot;:&quot;2020-09-30T00:00:00.000Z&quot;,&quot;date_lead_created&quot;:&quot;2020-09-30T00:00:00.000Z&quot;,&quot;custom_mappings&quot;:{},&quot;updated_by&quot;:&quot;12345&quot;,&quot;created_by&quot;:&quot;12345&quot;,&quot;updated_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;,&quot;created_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;}],&quot;meta&quot;:{&quot;items_on_page&quot;:50,&quot;cursors&quot;:{&quot;previous&quot;:&quot;em9oby1jcm06OnBhZ2U6OjE=&quot;,&quot;current&quot;:&quot;em9oby1jcm06OnBhZ2U6OjI=&quot;,&quot;next&quot;:&quot;em9oby1jcm06OnBhZ2U6OjM=&quot;}},&quot;links&quot;:{&quot;previous&quot;:&quot;https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D&quot;,&quot;current&quot;:&quot;https://unify.apideck.com/crm/companies&quot;,&quot;next&quot;:&quot;https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM&quot;}}