{"openapi":"3.0.0","info":{"title":"Ares API","version":"1.0.0","description":"Read and write the CRM-shaped objects in Ares (deals, contacts, companies, cadences, meetings, and pipelines), scoped to your organization.\n\n**Authentication**\n\n- Send your Ares API key as `Authorization: Bearer ares_<key>`. Create one at `/settings/api-keys`. Each key is scoped to a single organization.\n\n**Rate limits**\n\n- Limits are listed per-endpoint. When you hit one, the API returns `429 Too Many Requests` with a `Retry-After` header telling you how many seconds to wait.\n\n**Errors**\n\n- Every error response uses the same envelope: `{ \"error\": { \"code\": \"...\", \"message\": \"...\", \"details\": { ... } } }`. The `details` field is included only when there is useful structured context.\n\n**Request IDs**\n\n- Every response carries an `X-Request-Id` header. Include it when reporting an issue so we can look up the request in our logs.\n\n**AI assistants**\n\n- To connect Claude, ChatGPT or another AI assistant over MCP, see [Connect an AI assistant](/docs?api=mcp)."},"tags":[{"name":"Contacts","description":"People, their notes, and their cadence enrollments."},{"name":"Companies","description":"Companies and account-level records."},{"name":"Deals","description":"Deals and the meetings attached to them."},{"name":"Pipelines","description":"Deal pipelines and their stages."},{"name":"Cadences","description":"Cadences and contact enrollment."},{"name":"Meetings","description":"Meeting recordings and transcripts."},{"name":"Users","description":"Users in your organization."},{"name":"Health","description":"Unauthenticated service liveness."}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"ares_<43 url-safe base64 chars>","description":"Pass your Ares API key as `Authorization: Bearer ares_<key>`. Create and revoke keys at `/settings/api-keys`. Each key is scoped to a single organization."}},"schemas":{"CadenceList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Cadence"}},"page":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","page"]},"Cadence":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"name":{"type":"string","example":"Outbound Q3"},"description":{"type":"string","nullable":true,"example":"Sequence for inbound MQLs in EMEA."},"sending_as":{"$ref":"#/components/schemas/CadenceSendingAs"},"step_count":{"type":"integer","minimum":0,"example":5},"active_contact_count":{"type":"integer","minimum":0,"description":"Number of contacts currently active in this cadence.","example":12},"total_contact_count":{"type":"integer","minimum":0,"description":"Total number of contacts ever enrolled in this cadence, across all statuses.","example":34},"created_at":{"type":"string","format":"date-time","example":"2026-01-12T08:30:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-06-08T12:14:00.000Z"}},"required":["id","name","description","sending_as","step_count","active_contact_count","total_contact_count","created_at","updated_at"]},"CadenceSendingAs":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174001"},"name":{"type":"string","example":"Jane Doe"},"email":{"type":"string","example":"jane@acme.com"}},"required":["id","name","email"],"description":"User who created this cadence. `null` if the creator's account has been deleted. Note: `email` is the creator's login email, not the From address used when sending steps."},"PageMeta":{"type":"object","properties":{"number":{"type":"integer","minimum":1,"maximum":10000},"size":{"type":"integer"},"total":{"type":"integer","minimum":0},"has_more":{"type":"boolean"}},"required":["number","size","total","has_more"]},"CadenceEnrollment":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for this enrollment.","example":"5d8a9f3b-1c7e-4d12-9a4f-2c1b0a7b2a02"},"cadence_id":{"type":"string","format":"uuid"},"contact_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["active","paused","completed"],"description":"Current state of the enrollment. A cancelled enrollment is not returned here but does prevent re-enrolling the same contact (returns 409)."},"enrolled_at":{"type":"string","format":"date-time"}},"required":["id","cadence_id","contact_id","status","enrolled_at"]},"CadenceEnrollment400":{"anyOf":[{"$ref":"#/components/schemas/BadRequest"},{"$ref":"#/components/schemas/UnsupportedApprovalMode"},{"$ref":"#/components/schemas/InvalidStartStep"}]},"BadRequest":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]},"UnsupportedApprovalMode":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unsupported_approval_mode"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"InvalidStartStep":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["invalid_start_step"]},"message":{"type":"string"},"details":{"type":"object","properties":{"start_step_id":{"type":"string","format":"uuid"}},"required":["start_step_id"]}},"required":["code","message"]}},"required":["error"]},"CadenceEnrollment404":{"anyOf":[{"$ref":"#/components/schemas/CadenceNotFound"},{"$ref":"#/components/schemas/ContactNotFound"}]},"CadenceNotFound":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["cadence_not_found"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"ContactNotFound":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["contact_not_found"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"CadenceEnrollment409":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["already_enrolled","already_enrolled_other_cadence"]},"message":{"type":"string"},"details":{"type":"object","properties":{"execution_id":{"type":"string","format":"uuid"},"cadence_id":{"type":"string","format":"uuid"}},"required":["execution_id"]}},"required":["code","message"]}},"required":["error"]},"EnrollContactBody":{"type":"object","properties":{"contact_id":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"start_step_id":{"type":"string","nullable":true,"format":"uuid","description":"Enroll starting at this cadence step. Non-wait steps before it are marked skipped; the cadence runs from this step onward as a fresh enrollment (a wait target's delay is honored from today). Omit to start at the first step.","example":"3f2504e0-4f89-41d3-9a0c-0305e82c3301"}},"required":["contact_id"]},"CadenceStepList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CadenceStep"}}},"required":["data"]},"CadenceStep":{"oneOf":[{"$ref":"#/components/schemas/CadenceStepAction"},{"$ref":"#/components/schemas/CadenceStepWait"}],"discriminator":{"propertyName":"step_type","mapping":{"email":"#/components/schemas/CadenceStepAction","linkedin":"#/components/schemas/CadenceStepAction","linkedin_dm":"#/components/schemas/CadenceStepAction","email_ai":"#/components/schemas/CadenceStepAction","linkedin_ai":"#/components/schemas/CadenceStepAction","linkedin_dm_ai":"#/components/schemas/CadenceStepAction","call":"#/components/schemas/CadenceStepAction","wait":"#/components/schemas/CadenceStepWait"}}},"CadenceStepAction":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"step_order":{"type":"integer","example":1},"step_type":{"type":"string","enum":["email","linkedin","linkedin_dm","email_ai","linkedin_ai","linkedin_dm_ai","call"],"example":"email"},"created_at":{"type":"string","format":"date-time","example":"2026-07-01T12:00:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-07-01T12:00:00.000Z"}},"required":["id","step_order","step_type","created_at","updated_at"]},"CadenceStepWait":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f"},"step_order":{"type":"integer","example":2},"step_type":{"type":"string","enum":["wait"],"example":"wait"},"wait_days":{"type":"integer","minimum":0,"example":3},"created_at":{"type":"string","format":"date-time","example":"2026-07-01T12:00:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-07-01T12:00:00.000Z"}},"required":["id","step_order","step_type","wait_days","created_at","updated_at"]},"CadenceStepsNotFound":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["cadence_not_found"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"CadenceStepsOverflow":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["cadence_too_many_steps"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"Company":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"name":{"type":"string","example":"Acme Corp"},"website":{"type":"string","nullable":true,"example":"https://acme.com"},"description":{"type":"string","nullable":true,"example":"Acme Corp builds industrial-grade equipment for the Looney Tunes industrial sector."},"industry":{"type":"array","items":{"type":"string"},"example":["Industrial Manufacturing","Software"]},"linkedin_url":{"type":"string","nullable":true,"example":"https://www.linkedin.com/company/acme-corp"},"x_url":{"type":"string","nullable":true,"example":"https://x.com/acmecorp"},"crunchbase_url":{"type":"string","nullable":true,"example":"https://www.crunchbase.com/organization/acme-corp"},"last_contact_date":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date of most recent contact activity.","example":"2026-05-22"},"created_at":{"type":"string","format":"date-time","example":"2026-01-12T08:30:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-06-08T12:14:00.000Z"},"location":{"$ref":"#/components/schemas/CompanyLocation"},"size":{"$ref":"#/components/schemas/CompanySize"},"owner":{"$ref":"#/components/schemas/CompanyOwner"},"crm_account_ids":{"type":"object","properties":{"salesforce":{"type":"string"},"hubspot":{"type":"string"},"pipedrive":{"type":"string"}},"description":"CRM account IDs for this company, keyed by provider. A key is present only when a mapping exists. Valid keys are `salesforce`, `hubspot`, and `pipedrive`.","example":{"salesforce":"0014x00001aBcDeFGH","hubspot":"1234567890","pipedrive":"42"}}},"required":["id","name","website","description","industry","linkedin_url","x_url","crunchbase_url","last_contact_date","created_at","updated_at","location","size","owner","crm_account_ids"]},"CompanyLocation":{"type":"object","properties":{"raw":{"type":"string","nullable":true,"example":"San Francisco, CA, USA"},"city":{"type":"string","nullable":true,"example":"San Francisco"},"region":{"type":"string","nullable":true,"description":"State, province, or other subnational region.","example":"California"},"country":{"type":"string","nullable":true,"example":"United States"},"country_code":{"type":"string","nullable":true,"minLength":2,"maxLength":2,"description":"Two-letter country code.","example":"US"}},"required":["raw","city","region","country","country_code"]},"CompanySize":{"type":"object","properties":{"label":{"type":"string","nullable":true,"description":"Freeform size band as it appears in Ares.","example":"51-200"},"min":{"type":"integer","nullable":true,"description":"Lower bound of the headcount range when known.","example":51},"max":{"type":"integer","nullable":true,"description":"Upper bound of the headcount range when known.","example":200},"exact":{"type":"integer","nullable":true,"description":"Best-known headcount, when available.","example":142}},"required":["label","min","max","exact"]},"CompanyOwner":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174001"},"name":{"type":"string","example":"Jane Doe"},"email":{"type":"string","nullable":true,"example":"jane@acme.com"}},"required":["id","name","email"]},"CompanyList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Company"}},"page":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","page"]},"CompaniesWrite400":{"anyOf":[{"$ref":"#/components/schemas/BadRequest"},{"$ref":"#/components/schemas/CrmNotConnected"}]},"CrmNotConnected":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["crm_not_connected"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"OwnerNotFound":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["owner_not_found"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"CompaniesWrite409":{"anyOf":[{"$ref":"#/components/schemas/ConflictName"},{"$ref":"#/components/schemas/ConflictCrmMapping"}]},"ConflictName":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["name_conflict"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"ConflictCrmMapping":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["crm_mapping_conflict"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"CompaniesPatch404":{"anyOf":[{"$ref":"#/components/schemas/CompanyNotFound"},{"$ref":"#/components/schemas/OwnerNotFound"}]},"CompanyNotFound":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["company_not_found"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"Contact":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"first_name":{"type":"string","example":"Jane"},"last_name":{"type":"string","example":"Doe"},"name":{"type":"string","example":"Jane Doe"},"job_title":{"type":"string","nullable":true,"example":"VP Sales"},"linkedin_url":{"type":"string","nullable":true,"example":"https://linkedin.com/in/jane"},"phone":{"type":"string","nullable":true,"example":"+1 415 555 0100"},"status":{"type":"string","enum":["lead","prospect","customer","inactive"],"description":"Lifecycle stage of the contact.","example":"prospect"},"do_not_contact":{"type":"boolean","example":false},"source":{"type":"string","description":"Where this contact record originated (e.g. CRM import, manual entry). Values come from the record_source enum.","example":"crm"},"source_label":{"type":"string","nullable":true,"example":"Salesforce import"},"last_activity":{"type":"string","nullable":true,"format":"date-time","example":"2026-05-22T14:08:00.000Z"},"last_contact_date":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Calendar date of the most recent outreach.","example":"2026-05-22"},"created_at":{"type":"string","format":"date-time","example":"2026-01-12T08:30:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-06-08T12:14:00.000Z"},"location":{"$ref":"#/components/schemas/ContactLocation"},"email":{"type":"string","nullable":true,"description":"The contact's primary email address. Null when no primary email is set.","example":"jane@acme.com"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/ContactEmail"},"description":"All known email addresses for this contact, including non-primary ones."},"owner":{"$ref":"#/components/schemas/ContactOwner"},"company":{"$ref":"#/components/schemas/ContactCompany"},"crm_contact_ids":{"type":"object","properties":{"salesforce":{"type":"string"},"hubspot":{"type":"string"},"pipedrive":{"type":"string"}},"description":"Native contact ID in each connected CRM, keyed by provider name. Only providers with a mapped record appear.","example":{"salesforce":"0034x00001aBcDeFGH","hubspot":"987654321"}},"custom_fields":{"type":"object","additionalProperties":{"type":"string","nullable":true},"description":"Values for your org's custom contact fields, keyed by field key. Empty object when none are set.","example":{"region":"EMEA","tier":"gold"}},"user_columns":{"type":"object","additionalProperties":{"type":"string","nullable":true},"example":{"region":"EMEA","tier":"gold"},"deprecated":true,"description":"Deprecated: use `custom_fields`, which holds the same values."}},"required":["id","first_name","last_name","name","job_title","linkedin_url","phone","status","do_not_contact","source","source_label","last_activity","last_contact_date","created_at","updated_at","location","email","emails","owner","company","crm_contact_ids"]},"ContactLocation":{"type":"object","properties":{"raw":{"type":"string","nullable":true,"example":"San Francisco, CA"},"city":{"type":"string","nullable":true,"example":"San Francisco"},"region":{"type":"string","nullable":true,"description":"State, province, or other subnational region.","example":"California"},"country":{"type":"string","nullable":true,"example":"United States"},"country_code":{"type":"string","nullable":true,"minLength":2,"maxLength":2,"description":"Two-letter country code (ISO 3166-1 alpha-2).","example":"US"}},"required":["raw","city","region","country","country_code"]},"ContactEmail":{"type":"object","properties":{"address":{"type":"string","minLength":1,"example":"jane@acme.com"},"is_primary":{"type":"boolean","example":true},"source":{"type":"string","description":"Where this email address came from (e.g. CRM import, manual entry). Values come from the record_source enum.","example":"crm"}},"required":["address","is_primary","source"]},"ContactOwner":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174001"},"name":{"type":"string","example":"Sam Pratt"},"email":{"type":"string","nullable":true,"example":"sam@withares.ai"}},"required":["id","name","email"]},"ContactCompany":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174002"},"name":{"type":"string","example":"Acme Corp"}},"required":["id","name"]},"ContactList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Contact"}},"page":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","page"]},"ContactsWrite400":{"anyOf":[{"$ref":"#/components/schemas/BadRequest"},{"$ref":"#/components/schemas/CrmNotConnected"}]},"ContactsWrite404":{"anyOf":[{"$ref":"#/components/schemas/OwnerNotFound"},{"$ref":"#/components/schemas/CompanyNotFound"}]},"ContactsWrite409":{"anyOf":[{"$ref":"#/components/schemas/ConflictEmail"},{"$ref":"#/components/schemas/ConflictCrmMapping"}]},"ConflictEmail":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["email_conflict"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"ContactsPatch404":{"anyOf":[{"$ref":"#/components/schemas/ContactNotFound"},{"$ref":"#/components/schemas/OwnerNotFound"},{"$ref":"#/components/schemas/CompanyNotFound"}]},"ContactCadences":{"type":"object","properties":{"enrolled":{"type":"boolean","description":"True when the contact has at least one active, paused, or completed cadence enrollment.","example":true},"cadences":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The cadence the contact is enrolled in.","example":"5d8a9f3b-1c7e-4d12-9a4f-2c1b0a7b2a02"},"status":{"type":"string","enum":["active","paused","completed"],"description":"The contact's enrollment status in this cadence."}},"required":["id","status"]},"description":"One entry per cadence the contact is enrolled in. Empty when not enrolled."}},"required":["enrolled","cadences"]},"NoteList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Note"}},"page":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","page"]},"Note":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"contact_id":{"type":"string","format":"uuid"},"body":{"type":"string"},"author":{"$ref":"#/components/schemas/NoteAuthor"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","contact_id","body","author","created_at","updated_at"]},"NoteAuthor":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"],"description":"The org member who authored the note, or null. Notes created via this API are authorless."},"CreateNote":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":10000,"description":"The note text.","example":"Buyer confirmed budget for Q3."}},"required":["body"],"additionalProperties":false},"Deal":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"name":{"type":"string","example":"Acme Corp - Enterprise"},"amount":{"type":"string","nullable":true,"pattern":"^-?\\d+\\.\\d{2}$","description":"Deal amount as a string, e.g. `\"50000.00\"`. Always two decimal places. `null` if not set.","example":"50000.00"},"currency":{"type":"string","nullable":true,"description":"Currency the amount is expressed in. `null` if not set.","example":"USD"},"probability":{"type":"number","nullable":true,"minimum":0,"maximum":1,"description":"Win probability between 0 and 1. `null` if not set.","example":0.6},"close_date":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Calendar date.","example":"2026-09-30"},"renewal_date":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Calendar date.","example":"2026-09-30"},"source":{"type":"string","nullable":true,"description":"System that created this deal, e.g. `\"Salesforce\"`, `\"HubSpot\"`, `\"Pipedrive\"`, or `\"Ares\"`. `null` if not recorded.","example":"Salesforce"},"state":{"type":"string","enum":["open","won","lost"],"description":"Overall deal outcome. `\"won\"` or `\"lost\"` when the stage is closed; `\"open\"` otherwise.","example":"open"},"stage":{"$ref":"#/components/schemas/DealStage"},"pipeline":{"$ref":"#/components/schemas/DealPipeline"},"company":{"$ref":"#/components/schemas/DealCompanyRef"},"owner":{"$ref":"#/components/schemas/DealOwner"},"crm_deal_ids":{"type":"object","properties":{"salesforce":{"type":"string"},"hubspot":{"type":"string"},"pipedrive":{"type":"string"}},"description":"Native deal ID in each connected CRM. A key is present only when a mapping exists.","example":{"salesforce":"0064x00001aBcDeFGH","hubspot":"1234"}},"custom_fields":{"type":"object","additionalProperties":{"type":"string","nullable":true},"description":"Values for your org's custom deal fields, keyed by field key. Empty object when none are set.","example":{"region":"EMEA","tier":"gold"}},"user_columns":{"nullable":true,"deprecated":true,"description":"Deprecated: use `custom_fields`, which holds the same values."},"created_at":{"type":"string","format":"date-time","description":"When the deal was originally created. For deals synced from a CRM (see `source`), this is the deal's creation date in that CRM, which can predate when Ares first synced it. For deals created directly in Ares, it is the Ares creation time.","example":"2025-11-03T09:15:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-06-08T12:14:00.000Z"}},"required":["id","name","amount","currency","probability","close_date","renewal_date","source","state","stage","pipeline","company","owner","crm_deal_ids","created_at","updated_at"]},"DealStage":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"11111111-1111-4111-9111-111111111111"},"name":{"type":"string","example":"Proposal"},"is_closed_won":{"type":"boolean"},"is_closed_lost":{"type":"boolean"},"probability":{"type":"number","nullable":true,"minimum":0,"maximum":1,"description":"Win probability between 0 and 1. `null` if not set.","example":0.6}},"required":["id","name","is_closed_won","is_closed_lost","probability"]},"DealPipeline":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"22222222-2222-4222-9222-222222222222"},"name":{"type":"string","example":"Default Pipeline"}},"required":["id","name"]},"DealCompanyRef":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"33333333-3333-4333-9333-333333333333"},"name":{"type":"string","example":"Acme Corp"}},"required":["id","name"]},"DealOwner":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid","example":"44444444-4444-4444-9444-444444444444"},"name":{"type":"string","example":"Jane Doe"},"email":{"type":"string","nullable":true,"example":"jane@acme.com"}},"required":["id","name","email"]},"DealList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Deal"}},"page":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","page"]},"MeetingList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Meeting"}},"page":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","page"]},"Meeting":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"11111111-1111-4111-9111-111111111111"},"title":{"type":"string","nullable":true,"example":"Discovery"},"description":{"type":"string","nullable":true,"description":"The meeting agenda or body text from the calendar invite."},"start_time":{"type":"string","nullable":true,"format":"date-time","description":"When the meeting starts, as an ISO 8601 datetime. Null for all-day events."},"end_time":{"type":"string","nullable":true,"format":"date-time","description":"When the meeting ends, as an ISO 8601 datetime. Null for all-day events."},"is_all_day":{"type":"boolean","description":"True if the meeting spans a full calendar day with no specific start or end time."},"status":{"$ref":"#/components/schemas/MeetingStatus"},"meeting_url":{"type":"string","nullable":true,"description":"Video conference or dial-in link for the meeting, if one was included."},"summary":{"type":"string","nullable":true,"deprecated":true,"description":"Deprecated and always null. For AI-generated meeting content, use GET /v1/meetings/{id}/insights."},"ares_owner":{"$ref":"#/components/schemas/MeetingAresOwner"},"participants":{"type":"array","items":{"$ref":"#/components/schemas/MeetingParticipant"}},"created_at":{"type":"string","format":"date-time","description":"When this meeting record was created in Ares."},"updated_at":{"type":"string","format":"date-time","description":"When this meeting record was last updated."}},"required":["id","title","description","start_time","end_time","is_all_day","status","meeting_url","summary","ares_owner","participants","created_at","updated_at"]},"MeetingStatus":{"type":"string","enum":["scheduled","in_progress","completed","cancelled","tentative"],"description":"Lifecycle state of the meeting."},"MeetingAresOwner":{"type":"object","nullable":true,"properties":{"id":{"type":"string","format":"uuid","example":"22222222-2222-4222-9222-222222222222"},"name":{"type":"string","example":"Jane Doe"},"email":{"type":"string","nullable":true,"example":"jane@acme.com"}},"required":["id","name","email"],"description":"The Ares user whose calendar surfaced this meeting. This is the internal calendar owner, not the external organizer. Null if no Ares user is associated."},"MeetingParticipant":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"33333333-3333-4333-9333-333333333333"},"email":{"type":"string","nullable":true,"example":"guest@example.com"},"name":{"type":"string","nullable":true,"example":"Guest"},"contact_id":{"type":"string","nullable":true,"format":"uuid","description":"The Ares contact this participant maps to, if a match was found."},"response_status":{"type":"string","nullable":true,"description":"The participant's RSVP status from the calendar source. Common values: \"accepted\", \"declined\", \"tentative\", \"needs_action\", \"needsAction\", \"organizer\"."},"attended":{"type":"boolean","nullable":true,"description":"Whether the participant was present for the meeting. Null if attendance was not tracked."}},"required":["id","email","name","contact_id","response_status","attended"]},"DealActionItemList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DealActionItem"}},"page":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","page"]},"DealActionItem":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"description":{"type":"string","example":"Send the security questionnaire."},"status":{"type":"string","enum":["open","done","dismissed"],"example":"open"},"status_changed_at":{"type":"string","nullable":true,"format":"date-time"},"due_date":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Due date as an ISO 8601 date (YYYY-MM-DD), or null.","example":"2026-07-20"},"assignee":{"$ref":"#/components/schemas/DealActionItemAssignee"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/DealActionItemSource"},"description":"Provenance, ordered by relevance. Empty when the item has no linked source."},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}},"required":["id","description","status","status_changed_at","due_date","assignee","sources","created_at","updated_at"]},"DealActionItemAssignee":{"type":"object","nullable":true,"properties":{"type":{"type":"string","enum":["contact","profile"],"example":"contact"},"id":{"type":"string","format":"uuid","description":"contact.id for type=contact, or organization_people.id for type=profile (same id space as /v1/users)."},"name":{"type":"string","example":"Jane Doe"},"email":{"type":"string","nullable":true,"example":"jane@example.com"}},"required":["type","id","name","email"],"description":"Resolved assignee, or null when unassigned or unresolvable."},"DealActionItemSource":{"oneOf":[{"$ref":"#/components/schemas/DealActionItemRecordingSource"},{"$ref":"#/components/schemas/DealActionItemSlackSource"}],"discriminator":{"propertyName":"type","mapping":{"recording":"#/components/schemas/DealActionItemRecordingSource","slack_message":"#/components/schemas/DealActionItemSlackSource"}}},"DealActionItemRecordingSource":{"type":"object","properties":{"type":{"type":"string","enum":["recording"]},"meeting_id":{"type":"string","nullable":true,"format":"uuid"},"title":{"type":"string","nullable":true,"example":"Discovery call"},"date":{"type":"string","nullable":true,"format":"date-time","description":"The source meeting's start_time, or null."},"quote":{"type":"string","nullable":true,"description":"Verbatim transcript text that produced the item, or null."},"start_ms":{"type":"integer","nullable":true,"description":"Offset in milliseconds from recording start of the quoted paragraph (start_sec x 1000), or null."},"start_sec":{"type":"integer","nullable":true,"description":"Offset in whole seconds from recording start of the quoted paragraph, or null."}},"required":["type","meeting_id","title","date","quote","start_ms"]},"DealActionItemSlackSource":{"type":"object","properties":{"type":{"type":"string","enum":["slack_message"]},"channel_name":{"type":"string","nullable":true,"example":"acme-deal-room"},"author_email":{"type":"string","nullable":true,"example":"rep@example.com"},"sent_at":{"type":"string","nullable":true,"format":"date-time","description":"When the Slack message was sent, or null if unparseable."}},"required":["type","channel_name","author_email","sent_at"]},"StakeholderList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Stakeholder"}}},"required":["data"]},"Stakeholder":{"type":"object","properties":{"contact":{"$ref":"#/components/schemas/StakeholderContact"},"roles":{"type":"array","items":{"type":"string","enum":["champion","economic_buyer","influencer","user","technical_buyer","blocker","detractor"],"description":"A stakeholder's role in the buying decision.","example":"champion"},"description":"Buyer personas assigned to this stakeholder on the deal. Empty when none are set.","example":["champion","economic_buyer"]},"engagement":{"$ref":"#/components/schemas/StakeholderEngagement"}},"required":["contact","roles","engagement"]},"StakeholderContact":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"name":{"type":"string","example":"Jane Doe"},"email":{"type":"string","nullable":true,"description":"The contact's primary email. `null` if none is set.","example":"jane@acme.com"},"job_title":{"type":"string","nullable":true,"example":"VP Engineering"}},"required":["id","name","email","job_title"]},"StakeholderEngagement":{"type":"object","properties":{"meeting_count":{"type":"integer","minimum":0,"description":"Number of distinct past, non-cancelled meetings on this deal the stakeholder was a participant in.","example":3},"last_interaction":{"type":"string","nullable":true,"format":"date-time","description":"Start time of the stakeholder's most recent past, non-cancelled meeting on this deal, as an ISO 8601 datetime. `null` if none.","example":"2026-03-10T15:00:00.000Z"}},"required":["meeting_count","last_interaction"]},"StakeholdersOverflow":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["too_many_stakeholders"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"DealQualification":{"type":"object","properties":{"methodology":{"type":"string","nullable":true,"description":"Framework the deal was qualified under, e.g. `meddpicc`, `meddic`, `meddpicc_scored`, `bant`, `sandler`, `middbanc` or `custom`. More may be added. `null` when the deal has no qualification yet.","example":"meddpicc"},"completion_percentage":{"type":"integer","nullable":true,"minimum":0,"maximum":100,"description":"Share of the methodology's elements that are completed, from 0 to 100. `null` when the deal has no qualification yet.","example":63},"updated_at":{"type":"string","nullable":true,"format":"date-time","description":"When the qualification last changed, as an ISO 8601 datetime. `null` when the deal has no qualification yet.","example":"2026-09-14T10:02:11.000Z"},"elements":{"type":"array","items":{"$ref":"#/components/schemas/DealQualificationElement"},"description":"The methodology's elements, in the methodology's order."}},"required":["methodology","completion_percentage","updated_at","elements"]},"DealQualificationElement":{"type":"object","properties":{"key":{"type":"string","description":"Stable identifier of the element within the methodology.","example":"economic_buyer"},"label":{"type":"string","description":"Display name of the element.","example":"Economic Buyer"},"completed":{"type":"boolean","description":"Whether the element is considered qualified.","example":true},"score":{"type":"integer","nullable":true,"minimum":0,"maximum":3,"description":"Set only for `meddpicc_scored`: `1` don't have it, `2` have some of it, `3` have it, `0` not applicable. `null` otherwise.","example":null},"items":{"type":"array","items":{"$ref":"#/components/schemas/DealQualificationItem"},"description":"Findings for the element. Empty when nothing is captured."}},"required":["key","label","completed","score","items"]},"DealQualificationItem":{"type":"object","properties":{"text":{"type":"string","description":"One finding for the element.","example":"CFO confirmed as final decision authority"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/DealQualificationSource"},"description":"Where the finding came from. Identical sources are returned once. Empty when no source was recorded."}},"required":["text","sources"]},"DealQualificationSource":{"type":"object","properties":{"type":{"type":"string","enum":["meeting","email","slack"],"description":"Where the item came from.","example":"meeting"},"meeting_id":{"type":"string","nullable":true,"format":"uuid","description":"The meeting the item came from. Resolves with `GET /v1/meetings/{id}`. `null` for email and Slack sources, or when the meeting is no longer available.","example":"5d3c9a2e-7f41-4b8e-9c1a-2e6f0b7d4a11"},"start_time_sec":{"type":"number","nullable":true,"minimum":0,"description":"Seconds into the meeting recording where the item was discussed. `null` when unknown or when `meeting_id` is `null`.","example":412.5},"occurred_at":{"type":"string","nullable":true,"format":"date-time","description":"When the source happened (the meeting start, email date or Slack message time), as an ISO 8601 datetime. `null` if unknown.","example":"2026-09-01T15:00:00.000Z"}},"required":["type","meeting_id","start_time_sec","occurred_at"]},"DealsWrite400":{"anyOf":[{"$ref":"#/components/schemas/BadRequest"},{"$ref":"#/components/schemas/CrmNotConnected"}]},"DealsPost404":{"anyOf":[{"$ref":"#/components/schemas/CompanyNotFound"},{"$ref":"#/components/schemas/PipelineNotFound"},{"$ref":"#/components/schemas/StageNotFound"},{"$ref":"#/components/schemas/OwnerNotFound"}]},"PipelineNotFound":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["pipeline_not_found"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"StageNotFound":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["stage_not_found"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"ConflictCrmDealMapping":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["crm_mapping_conflict"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"CreateDealBody":{"type":"object","properties":{"company_id":{"type":"string","format":"uuid","description":"Company this deal belongs to. Look up via `GET /v1/companies`."},"name":{"type":"string","minLength":1,"maxLength":255,"description":"Display name for the deal."},"pipeline_id":{"type":"string","format":"uuid","description":"Pipeline to place the deal in. Look up via `GET /v1/pipelines`."},"stage_id":{"type":"string","format":"uuid","description":"Stage within the pipeline. Must belong to the given `pipeline_id`."},"amount":{"type":"string","nullable":true,"pattern":"^-?\\d+\\.\\d{2}$","description":"Deal amount as a string, e.g. `\"50000.00\"`. Always two decimal places.","example":"50000.00"},"currency":{"type":"string","nullable":true,"pattern":"^[A-Z]{3}$","description":"Currency the amount is expressed in, as an ISO 4217 code.","example":"USD"},"probability":{"type":"number","nullable":true,"minimum":0,"maximum":1,"description":"Win probability between 0 and 1.","example":0.6},"close_date":{"type":"string","nullable":true},"renewal_date":{"type":"string","nullable":true},"owner_id":{"type":"string","nullable":true,"format":"uuid","description":"User who owns the deal. `null` to leave unassigned."},"crm":{"type":"string","enum":["salesforce","hubspot","pipedrive"],"description":"CRM provider the deal originates from. Required when `crm_deal_id` is set."},"crm_deal_id":{"type":"string","minLength":1,"maxLength":255,"description":"Native deal ID in the CRM given by `crm`. Omit to push a new deal to the CRM instead of linking an existing one."}},"required":["company_id","name","pipeline_id","stage_id"],"additionalProperties":false},"DealsPatch404":{"anyOf":[{"$ref":"#/components/schemas/DealNotFound"},{"$ref":"#/components/schemas/PipelineNotFound"},{"$ref":"#/components/schemas/StageNotFound"},{"$ref":"#/components/schemas/OwnerNotFound"}]},"DealNotFound":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["deal_not_found"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]},"UpdateDealBody":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255,"description":"Display name for the deal."},"amount":{"type":"string","nullable":true,"pattern":"^-?\\d+\\.\\d{2}$","description":"Deal amount as a string, e.g. `\"50000.00\"`. Always two decimal places.","example":"50000.00"},"currency":{"type":"string","nullable":true,"pattern":"^[A-Z]{3}$","description":"Currency the amount is expressed in, as an ISO 4217 code.","example":"USD"},"probability":{"type":"number","nullable":true,"minimum":0,"maximum":1,"description":"Win probability between 0 and 1.","example":0.6},"close_date":{"type":"string","nullable":true},"renewal_date":{"type":"string","nullable":true},"owner_id":{"type":"string","nullable":true,"format":"uuid","description":"User who owns the deal. `null` to unassign."},"pipeline_id":{"type":"string","format":"uuid","description":"Pipeline to move the deal to. Must be provided together with `stage_id`."},"stage_id":{"type":"string","format":"uuid","description":"Stage to move the deal to. Must be provided together with `pipeline_id`."},"crm_deal_ids":{"type":"object","properties":{"salesforce":{"type":"string","minLength":1,"maxLength":255},"hubspot":{"type":"string","minLength":1,"maxLength":255},"pipedrive":{"type":"string","minLength":1,"maxLength":255}},"additionalProperties":false,"description":"Update the native deal ID for one or more CRM providers."}},"additionalProperties":false},"MeetingListAll":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MeetingListItem"}},"page":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","page"]},"MeetingListItem":{"allOf":[{"$ref":"#/components/schemas/Meeting"},{"type":"object","properties":{"deal_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids of the deals this meeting is attached to (empty when the meeting is not attached to any visible deal). Same id space as /v1/deals."}},"required":["deal_ids"]}]},"MeetingInsights":{"type":"object","properties":{"key_topics":{"type":"array","items":{"type":"string"},"description":"Deal-relevant topics discussed.","example":["Budget approved for Q3"]},"key_moments":{"type":"array","items":{"$ref":"#/components/schemas/MeetingKeyMoment"},"description":"Notable moments in chronological order (untimed moments last)."},"key_metrics":{"type":"array","items":{"$ref":"#/components/schemas/MeetingKeyMetric"}},"stakeholders":{"type":"array","items":{"$ref":"#/components/schemas/MeetingStakeholder"}},"action_items":{"type":"array","items":{"$ref":"#/components/schemas/MeetingActionItem"}},"competitors":{"type":"array","items":{"$ref":"#/components/schemas/MeetingCompetitor"}},"custom_sections":{"type":"object","nullable":true,"properties":{"template_name":{"type":"string","example":"Discovery Call"},"sections":{"type":"array","items":{"$ref":"#/components/schemas/MeetingCustomSection"}}},"required":["template_name","sections"],"description":"Author-defined custom summary sections, present when a call summary template applied."}},"required":["key_topics","key_moments","key_metrics","stakeholders","action_items","competitors"]},"MeetingKeyMoment":{"type":"object","properties":{"text":{"type":"string","example":"Prospect confirmed budget sign-off"},"start_time_sec":{"type":"number","nullable":true,"description":"Seconds into the recording, or null when no confident transcript match was found.","example":412.5}},"required":["text","start_time_sec"]},"MeetingKeyMetric":{"type":"object","properties":{"label":{"type":"string","example":"ARR"},"value":{"type":"string","example":"$40M"},"context":{"type":"string","example":"Stated when describing current scale."},"speaker":{"$ref":"#/components/schemas/MeetingInsightsSpeakerRef"}},"required":["label","value","context","speaker"]},"MeetingInsightsSpeakerRef":{"type":"object","nullable":true,"properties":{"name":{"type":"string","example":"Jane Doe"},"contact_id":{"type":"string","nullable":true,"format":"uuid","description":"The external Ares contact this speaker maps to (same id space as participants.contact_id). Null when the speaker is not an external contact.","example":null},"team_member_id":{"type":"string","nullable":true,"format":"uuid","description":"The internal team member this speaker maps to, as an organization person id (cross-references /v1/users and ares_owner.id). Null when the speaker is not an active internal team member.","example":null}},"required":["name","contact_id","team_member_id"],"description":"The speaker who stated the metric, resolved to a name (+ optional links). Null when the speaker could not be identified."},"MeetingStakeholder":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"first_name":{"type":"string","example":"Sam"},"last_name":{"type":"string","nullable":true,"example":"Pratt"},"title":{"type":"string","nullable":true,"example":"CFO"},"personas":{"type":"array","items":{"type":"string"},"description":"Buyer persona(s), user overrides applied. Order matters: the first entry is the primary role.","example":["economic_buyer"]},"context":{"type":"string","example":"Named by the prospect as the final approver."},"matched_contact_id":{"type":"string","nullable":true,"format":"uuid","description":"The Ares contact this stakeholder was linked to, if any.","example":null}},"required":["id","first_name","last_name","title","personas","context","matched_contact_id"]},"MeetingActionItem":{"type":"object","properties":{"description":{"type":"string","example":"Send the security questionnaire."},"due_date":{"type":"string","nullable":true,"description":"Due date as an ISO 8601 date (YYYY-MM-DD), or null.","example":"2026-07-20"},"assignee":{"allOf":[{"$ref":"#/components/schemas/MeetingInsightsSpeakerRef"},{"description":"The assignee, resolved to a name (+ optional links). Null when unassigned or the speaker could not be identified."}]}},"required":["description","due_date","assignee"]},"MeetingCompetitor":{"type":"object","properties":{"name":{"type":"string","example":"Acme"},"context":{"type":"string","example":"Prospect currently uses them."},"sentiment":{"type":"string","enum":["positive","negative","neutral"],"example":"negative"}},"required":["name","context","sentiment"]},"MeetingCustomSection":{"type":"object","properties":{"name":{"type":"string","example":"Pain Points"},"shape":{"type":"string","enum":["bullets","prose"],"example":"bullets"},"items":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"start_time_sec":{"type":"number","nullable":true}},"required":["text","start_time_sec"]}},{"type":"string"}]}},"required":["name","shape","items"]},"Transcript":{"type":"object","properties":{"duration_ms":{"type":"integer","nullable":true,"minimum":0,"description":"Recording duration in milliseconds. Null if the upload never finalized.","example":1834000},"paragraphs":{"type":"array","items":{"$ref":"#/components/schemas/TranscriptParagraph"},"description":"Transcript paragraphs in chronological order. Empty when the meeting was transcribed but no speech was detected."},"speakers":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TranscriptSpeaker"},"description":"Map of speaker_id to name and contact_id. Includes exactly the speakers that appear in paragraphs, no more.","example":{"speaker_0":{"name":"Jane Doe","contact_id":null},"speaker_1":{"name":"Sam Pratt","contact_id":"c1c1c1c1-2222-4333-9444-555555555555"}}}},"required":["duration_ms","paragraphs","speakers"]},"TranscriptParagraph":{"type":"object","properties":{"start_time":{"type":"number","minimum":0,"description":"Paragraph start time in seconds from recording start.","example":0},"speaker_id":{"type":"string","description":"Speaker identifier that matches a key in the top-level `speakers` map.","example":"speaker_0"},"text":{"type":"string","description":"Spoken words for this paragraph.","example":"Hi everyone."}},"required":["start_time","speaker_id","text"]},"TranscriptSpeaker":{"type":"object","properties":{"name":{"type":"string","nullable":true,"description":"Display name for this speaker. Set by user override when available, otherwise inferred by AI. Null if the speaker could not be identified.","example":"Jane Doe"},"contact_id":{"type":"string","nullable":true,"format":"uuid","description":"ID of the Ares contact matched to this speaker. Null if no contact was matched.","example":null}},"required":["name","contact_id"]},"PipelineList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Pipeline"}}},"required":["data"]},"Pipeline":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"22222222-2222-4222-9222-222222222222"},"name":{"type":"string","example":"Default Pipeline"},"is_default":{"type":"boolean","description":"True for the pipeline that is used when no pipeline is specified on a new deal.","example":true},"display_order":{"type":"integer","description":"Position of this pipeline in the list, starting at 1. Pipelines are presented to users in ascending order.","example":1},"stages":{"type":"array","items":{"$ref":"#/components/schemas/PipelineStage"}},"created_at":{"type":"string","format":"date-time","example":"2026-01-12T08:30:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-06-08T12:14:00.000Z"}},"required":["id","name","is_default","display_order","stages","created_at","updated_at"]},"PipelineStage":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"11111111-1111-4111-9111-111111111111"},"name":{"type":"string","example":"Proposal"},"display_order":{"type":"integer","description":"Position of this stage in the pipeline, starting at 1. Stages are presented to users in ascending order.","example":4},"probability":{"type":"number","nullable":true,"minimum":0,"maximum":1,"description":"Win probability for this stage in [0, 1], rounded to 2 decimal places. Null if not configured.","example":0.6},"is_closed_won":{"type":"boolean","description":"True when a deal in this stage counts as won. Use this to identify the winning stage when evaluating deal outcomes."},"is_closed_lost":{"type":"boolean","description":"True when a deal in this stage counts as lost. Use this to identify the losing stage when evaluating deal outcomes."},"created_at":{"type":"string","format":"date-time","example":"2026-01-12T08:30:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-06-08T12:14:00.000Z"}},"required":["id","name","display_order","probability","is_closed_won","is_closed_lost","created_at","updated_at"]},"UserList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/User"}},"page":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","page"]},"User":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"44444444-4444-4444-9444-444444444444"},"name":{"type":"string","example":"Jane Doe"},"email":{"type":"string","nullable":true,"example":"jane@acme.com"},"status":{"type":"string","enum":["active","offboarded","placeholder"],"description":"Whether this person is a current user (`active`), an ex-member kept for historical references (`offboarded`), or a CRM-derived attribution stub that never matched a real user (`placeholder`)."},"created_at":{"type":"string","format":"date-time","example":"2026-01-12T08:00:00.000Z"},"updated_at":{"type":"string","format":"date-time","example":"2026-04-05T14:32:11.000Z"}},"required":["id","name","email","status","created_at","updated_at"]}},"parameters":{}},"paths":{"/ping":{"get":{"summary":"Liveness probe","tags":["Health"],"description":"Returns { ok: true } when the service is reachable.","responses":{"200":{"description":"Service is reachable.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true]}},"required":["ok"]}}}}}}},"/v1/cadences":{"get":{"summary":"List cadences","tags":["Cadences"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns a paginated list of outreach cadences for the API key's organization.\n\n- Sorted by `updated_at` DESC, then `id` DESC.\n- Page size defaults to 25; pass `page_size=25|50|100` to change it. Maximum page is 10,000. At the cap, `has_more` returns `false`; narrow with `sending_as_user_id` to stay within bounds.\n- `sending_as_user_id` filters to cadences created by a specific user.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1,"example":1},"required":false,"name":"page","in":"query"},{"schema":{"type":"number","enum":[25,50,100],"default":25,"example":25},"required":false,"name":"page_size","in":"query"},{"schema":{"type":"string","format":"uuid","description":"Filter to cadences created by this user. Use the `sending_as.id` value from a list response."},"required":false,"description":"Filter to cadences created by this user. Use the `sending_as.id` value from a list response.","name":"sending_as_user_id","in":"query"}],"responses":{"200":{"description":"A page of cadences.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CadenceList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/cadences/{cadence_id}/contacts":{"post":{"summary":"Enroll a contact in a cadence","tags":["Cadences"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nStart a cadence for a contact. Steps are scheduled starting from today.\n\n- By default enrollment begins at the first step. Pass `start_step_id` to begin at a specific step: non-wait steps before it are recorded as `skipped`, and the cadence runs from that step onward as a fresh enrollment (a wait target's delay is honored from today).\n- If the contact is already active, paused, or completed in this cadence, returns `200` with the existing enrollment.\n- Returns `409` with code `already_enrolled` if a cancelled enrollment exists for the same cadence and contact.\n- Returns `409` with code `already_enrolled_other_cadence` if the contact is active or paused in a different cadence. A contact can only be in one cadence at a time; the blocking enrollment's `execution_id` and `cadence_id` are included in the error details.\n- Returns `400` with code `unsupported_approval_mode` for upfront cadences or existing upfront enrollments. Enroll these contacts from the Ares app.\n- Returns `400` with code `invalid_start_step` if `start_step_id` is not a step of this cadence.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"cadence_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollContactBody"}}}},"responses":{"200":{"description":"The existing enrollment (active, paused, or completed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CadenceEnrollment"}}}},"201":{"description":"The newly-created enrollment.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CadenceEnrollment"}}}},"400":{"description":"The request body failed validation (`bad_request`), `start_step_id` is not a step of this cadence (`invalid_start_step`), or the cadence/enrollment uses upfront approval (`unsupported_approval_mode`). Check `error.code` for the reason.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CadenceEnrollment400"}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"The cadence or contact was not found in your organization. Returns `cadence_not_found` or `contact_not_found` (cadence is checked first). Verify both ids belong to your organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CadenceEnrollment404"}}}},"409":{"description":"The contact already occupies an enrollment slot. `already_enrolled`: a cancelled enrollment on THIS cadence holds the slot (`details.execution_id` identifies it). `already_enrolled_other_cadence`: the contact is live in a DIFFERENT cadence and a contact can only be in one cadence at a time (`details` identifies the blocking enrollment when resolvable). Check `error.code` to distinguish the two.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CadenceEnrollment409"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/cadences/{cadence_id}/steps":{"get":{"summary":"List steps for a cadence","tags":["Cadences"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns every step of a cadence, ordered by `step_order` ascending.\n\n- The full set is returned in one response. There is no pagination.\n- Structure only: each step exposes `id`, `step_order`, `step_type`, and timestamps. `wait_days` is present only on `wait` steps. Message copy, prompts, template ids, and layout are not exposed.\n- Returns `404` if the cadence does not exist or belongs to another org.\n- Returns `409` in the rare case a cadence has more than 500 steps.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid"},"required":true,"name":"cadence_id","in":"path"}],"responses":{"200":{"description":"The cadence's steps.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CadenceStepList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No cadence in your organization matches the supplied id (`cadence_not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CadenceStepsNotFound"}}}},"409":{"description":"This cadence has too many steps to return in a single unpaginated response (`cadence_too_many_steps`). Contact support if you hit this.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CadenceStepsOverflow"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/companies/{id}":{"get":{"summary":"Get a company","tags":["Companies"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nLook up a single company by its Ares id.\n\n- Scoped to the API key's organization.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The company.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}},"patch":{"summary":"Update a company","tags":["Companies"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nUpdate fields on an existing company. Send only the fields you want to change.\n\n- `{id}` accepts an Ares UUID or a CRM locator (`crm:<provider>:<crm_account_id>`).\n- Omitted fields are left as-is.\n- Sending `null` on a nullable field clears it.\n- Changes are not pushed to a connected CRM.\n- Returns the full updated company.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","description":"Ares UUID or a CRM locator in the form `crm:<provider>:<crm_account_id>` (provider: `salesforce`, `hubspot`, or `pipedrive`).","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"description":"Ares UUID or a CRM locator in the form `crm:<provider>:<crm_account_id>` (provider: `salesforce`, `hubspot`, or `pipedrive`).","name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"website":{"type":"string","nullable":true,"format":"uri"},"description":{"type":"string","nullable":true,"maxLength":5000},"industry":{"type":"array","nullable":true,"items":{"type":"string","minLength":1,"maxLength":100},"maxItems":10},"linkedin_url":{"type":"string","nullable":true,"format":"uri"},"x_url":{"type":"string","nullable":true,"format":"uri"},"crunchbase_url":{"type":"string","nullable":true,"format":"uri"},"location":{"type":"string","nullable":true,"maxLength":255},"size":{"type":"string","nullable":true,"maxLength":50},"owner_id":{"type":"string","nullable":true,"format":"uuid"},"crm_account_ids":{"type":"object","properties":{"salesforce":{"type":"string","minLength":1,"maxLength":255},"hubspot":{"type":"string","minLength":1,"maxLength":255},"pipedrive":{"type":"string","minLength":1,"maxLength":255}},"additionalProperties":false}},"additionalProperties":false}}}},"responses":{"200":{"description":"The updated company.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{"description":"The request body failed validation (`bad_request`) or the CRM provider your locator references is not connected for your organization (`crm_not_connected`). Check `error.code` to distinguish the two cases.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompaniesWrite400"}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No company in your organization matches the supplied id or CRM locator (`company_not_found`), or the `owner_id` does not match anyone in your organization (`owner_not_found`). Check `error.code` to see which field caused the miss.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompaniesPatch404"}}}},"409":{"description":"A company with this name already exists in your organization (`name_conflict`), or the supplied CRM account id is already mapped to a different company (`crm_mapping_conflict`). Check `error.code` and either update the existing record or choose unique values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompaniesWrite409"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/companies":{"get":{"summary":"List and search companies","tags":["Companies"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturn a paginated list of companies in the API key's organization.\n\n- `q` searches `name` (fuzzy + substring), `website`, and `description` (substring). Results are ranked by name similarity when `q` is set, then by `updated_at` descending.\n- Page size defaults to 25; pass `page_size=25|50|100` to change it. Maximum page is 10,000. `has_more` returns `false` at the cap.\n- `crm` and `crm_account_id` must be provided together.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1,"example":1},"required":false,"name":"page","in":"query"},{"schema":{"type":"number","enum":[25,50,100],"default":25,"example":25},"required":false,"name":"page_size","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":100,"example":"acme"},"required":false,"name":"q","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"owner_id","in":"query"},{"schema":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"minItems":1,"maxItems":10,"description":"Filter by one or more industry values. Repeat the parameter to match any of multiple values: `?industry=Software&industry=SaaS`."},"required":false,"description":"Filter by one or more industry values. Repeat the parameter to match any of multiple values: `?industry=Software&industry=SaaS`.","name":"industry","in":"query","explode":true,"style":"form"},{"schema":{"type":"string","format":"date-time","example":"2026-06-01T00:00:00.000Z"},"required":false,"name":"updated_since","in":"query"},{"schema":{"type":"string","enum":["salesforce","hubspot","pipedrive"]},"required":false,"name":"crm","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":255},"required":false,"name":"crm_account_id","in":"query"}],"responses":{"200":{"description":"A page of companies.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}},"post":{"summary":"Create a company","tags":["Companies"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nCreate a new company in the API key's organization.\n\n- If you supply `crm` without `crm_account_id`, the company is pushed to that CRM in the background. The response returns immediately; the CRM mapping appears on a later GET.\n- If you supply neither field, the company is pushed to the org's preferred CRM if its \"sync new entities\" setting is enabled.\n- If you supply both `crm` and `crm_account_id`, the existing CRM record is linked without pushing.","security":[{"bearerAuth":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"website":{"type":"string","nullable":true,"format":"uri"},"description":{"type":"string","nullable":true,"maxLength":5000},"industry":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"maxItems":10},"linkedin_url":{"type":"string","nullable":true,"format":"uri"},"x_url":{"type":"string","nullable":true,"format":"uri"},"crunchbase_url":{"type":"string","nullable":true,"format":"uri"},"location":{"type":"string","nullable":true,"maxLength":255},"size":{"type":"string","nullable":true,"maxLength":50},"owner_id":{"type":"string","nullable":true,"format":"uuid","description":"User who owns the company. `null` to leave unassigned."},"crm":{"type":"string","enum":["salesforce","hubspot","pipedrive"]},"crm_account_id":{"type":"string","minLength":1,"maxLength":255}},"required":["name"],"additionalProperties":false}}}},"responses":{"201":{"description":"The created company.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}}},"400":{"description":"The request body failed validation (`bad_request`) or the CRM provider your locator references is not connected for your organization (`crm_not_connected`). Check `error.code` to distinguish the two cases.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompaniesWrite400"}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"The `owner_id` does not match anyone in your organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerNotFound"}}}},"409":{"description":"A company with this name already exists in your organization (`name_conflict`), or the supplied CRM account id is already mapped to a different company (`crm_mapping_conflict`). Check `error.code` and either update the existing record or choose unique values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompaniesWrite409"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/contacts/{id}":{"get":{"summary":"Get a contact","tags":["Contacts"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nReturn a single contact that belongs to the API key's organization.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"123e4567-e89b-12d3-a456-426614174000"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The contact.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contact"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Something went wrong on our side. Include the `X-Request-Id` from the response when you report this.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}},"patch":{"summary":"Update a contact","tags":["Contacts"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nUpdate fields on an existing contact. Send only the fields you want to change.\n\n- Omitted fields are left as-is.\n- Sending `null` on a nullable field clears it.\n- Patching `email` is idempotent: it promotes a previously demoted address or inserts a new primary while demoting the old one.\n- Field changes do not propagate to a connected CRM. Use `POST /v1/contacts` to push to a CRM.\n- Returns the full updated contact.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","description":"Ares contact UUID or a CRM locator in the form `crm:<provider>:<crm_contact_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"description":"Ares contact UUID or a CRM locator in the form `crm:<provider>:<crm_contact_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"first_name":{"type":"string","minLength":1,"maxLength":100},"last_name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","nullable":true,"format":"email"},"job_title":{"type":"string","nullable":true,"maxLength":255},"linkedin_url":{"type":"string","nullable":true,"format":"uri"},"phone":{"type":"string","nullable":true,"maxLength":50},"location":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"object","properties":{"raw":{"type":"string","nullable":true,"minLength":1,"maxLength":255},"country":{"type":"string","nullable":true,"minLength":1,"maxLength":100}},"additionalProperties":false},{"nullable":true}]},"do_not_contact":{"type":"boolean"},"status":{"type":"string","enum":["lead","prospect","customer","inactive"],"description":"Lifecycle stage of the contact.","example":"prospect"},"source_label":{"type":"string","nullable":true,"maxLength":255},"owner_id":{"type":"string","nullable":true,"format":"uuid"},"company_id":{"type":"string","nullable":true,"format":"uuid"},"crm_contact_ids":{"type":"object","properties":{"salesforce":{"type":"string","minLength":1,"maxLength":255},"hubspot":{"type":"string","minLength":1,"maxLength":255},"pipedrive":{"type":"string","minLength":1,"maxLength":255}},"additionalProperties":false},"custom_fields":{"type":"object","additionalProperties":{"type":"string","nullable":true},"maxProperties":100,"description":"Custom fields, keyed by field key, values are text or null. Merged into existing values; unmentioned keys are preserved. At most 100 keys per request.","example":{"region":"EMEA","tier":"gold"}},"user_columns":{"type":"object","additionalProperties":{"type":"string","nullable":true},"maxProperties":100,"description":"Deprecated: use `custom_fields`, which takes the same values. Send one or the other, not both.","example":{"region":"EMEA","tier":"gold"},"deprecated":true}},"additionalProperties":false}}}},"responses":{"200":{"description":"The updated contact.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contact"}}}},"400":{"description":"The request body failed validation (`bad_request`) or the CRM provider your locator references is not connected for your organization (`crm_not_connected`). Check `error.code` to distinguish the two cases.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactsWrite400"}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No contact in your organization matches the supplied id or CRM locator (`contact_not_found`), the `owner_id` does not match anyone in your organization (`owner_not_found`), or the `company_id` does not match any company in your organization (`company_not_found`). Check `error.code` to see which field caused the miss.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactsPatch404"}}}},"409":{"description":"The supplied primary email already belongs to a different contact in your organization (`email_conflict`), or the supplied CRM contact id is already mapped to a different contact (`crm_mapping_conflict`). Check `error.code` and update the existing record or use unique values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactsWrite409"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Something went wrong on our side. Include the `X-Request-Id` from the response when you report this.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/contacts":{"get":{"summary":"List and search contacts","tags":["Contacts"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturn a paginated list of contacts in the API key's organization.\n\n- `q` searches the contact name (fuzzy + substring) and email addresses (substring). Results are ranked by name similarity when `q` is set, then by `updated_at` descending.\n- `company_id` filters to a single company.\n- Page size defaults to 25; pass `page_size=25|50|100` to change it. Maximum page is 10,000. `has_more` returns `false` at the cap.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1,"example":1},"required":false,"name":"page","in":"query"},{"schema":{"type":"number","enum":[25,50,100],"default":25,"example":25},"required":false,"name":"page_size","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":100,"example":"jane"},"required":false,"name":"q","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"company_id","in":"query"}],"responses":{"200":{"description":"A page of contacts.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}},"post":{"summary":"Create a contact","tags":["Contacts"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nCreate a contact in the API key's organization.\n\n- If you supply `crm.provider` without `crm.contact_id`, the contact is pushed to that CRM in the background. The response returns immediately; the CRM mapping appears on a subsequent GET.\n- If you omit `crm` entirely, the org's preferred CRM is used when its sync-new-entities toggle is on.\n- If you supply both `crm.provider` and `crm.contact_id`, the existing CRM record is linked without a push.","security":[{"bearerAuth":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"first_name":{"type":"string","minLength":1,"maxLength":100},"last_name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","format":"email"},"job_title":{"type":"string","nullable":true,"maxLength":255},"linkedin_url":{"type":"string","nullable":true,"format":"uri"},"phone":{"type":"string","nullable":true,"maxLength":50},"location":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"object","properties":{"raw":{"type":"string","nullable":true,"minLength":1,"maxLength":255},"country":{"type":"string","nullable":true,"minLength":1,"maxLength":100}},"additionalProperties":false},{"nullable":true}]},"do_not_contact":{"type":"boolean"},"status":{"type":"string","enum":["lead","prospect","customer","inactive"],"description":"Lifecycle stage of the contact.","example":"prospect"},"source_label":{"type":"string","nullable":true,"maxLength":255},"owner_id":{"type":"string","nullable":true,"format":"uuid","description":"User who owns the contact. `null` to leave unassigned."},"company_id":{"type":"string","nullable":true,"format":"uuid","description":"Company this contact belongs to. `null` to leave unassociated."},"crm":{"type":"object","properties":{"provider":{"type":"string","enum":["salesforce","hubspot","pipedrive"]},"contact_id":{"type":"string","minLength":1,"maxLength":255}},"required":["provider"],"additionalProperties":false},"custom_fields":{"type":"object","additionalProperties":{"type":"string","nullable":true},"maxProperties":100,"description":"Custom fields, keyed by field key, values are text or null. Merged into existing values; unmentioned keys are preserved. At most 100 keys per request.","example":{"region":"EMEA","tier":"gold"}},"user_columns":{"type":"object","additionalProperties":{"type":"string","nullable":true},"maxProperties":100,"description":"Deprecated: use `custom_fields`, which takes the same values. Send one or the other, not both.","example":{"region":"EMEA","tier":"gold"},"deprecated":true}},"required":["first_name","last_name"],"additionalProperties":false}}}},"responses":{"201":{"description":"The created contact.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contact"}}}},"400":{"description":"The request body failed validation (`bad_request`) or the CRM provider your locator references is not connected for your organization (`crm_not_connected`). Check `error.code` to distinguish the two cases.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactsWrite400"}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"The `owner_id` does not match anyone in your organization (`owner_not_found`), or the `company_id` does not match any company in your organization (`company_not_found`). Check `error.code` to see which field caused the miss.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactsWrite404"}}}},"409":{"description":"The supplied primary email already belongs to a different contact in your organization (`email_conflict`), or the supplied CRM contact id is already mapped to a different contact (`crm_mapping_conflict`). Check `error.code` and update the existing record or use unique values.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactsWrite409"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Something went wrong on our side. Include the `X-Request-Id` from the response when you report this.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/contacts/{id}/cadences":{"get":{"summary":"Check a contact's cadence enrollments","tags":["Contacts"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturn whether a contact is enrolled in any cadence, and in which cadences.\n\n- `enrolled` is `true` when the contact has at least one enrollment with status `active`, `paused`, or `completed`.\n- `cadences` lists the matching cadence ids with their enrollment status. Cancelled enrollments are excluded.\n- `{id}` accepts an Ares contact UUID or a CRM locator `crm:<provider>:<crm_contact_id>` (providers: `salesforce`, `hubspot`, `pipedrive`).","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","description":"Ares contact UUID or a CRM locator in the form `crm:<provider>:<crm_contact_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"description":"Ares contact UUID or a CRM locator in the form `crm:<provider>:<crm_contact_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","name":"id","in":"path"}],"responses":{"200":{"description":"The contact's cadence enrollments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactCadences"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No contact in your organization matches the supplied id or CRM locator (`contact_not_found`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactNotFound"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Something went wrong on our side. Include the `X-Request-Id` from the response when you report this.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/contacts/{id}/notes":{"get":{"summary":"List notes for a contact","tags":["Contacts"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturn a paginated list of notes attached to the contact.\n\n- `{id}` accepts an Ares contact UUID or a CRM locator `crm:<provider>:<crm_contact_id>` (providers: `salesforce`, `hubspot`, `pipedrive`).\n- Results are ordered by `created_at` descending. Page size defaults to 25; pass `page_size=25|50|100` to change it.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","description":"Ares contact UUID or a CRM locator in the form `crm:<provider>:<crm_contact_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"description":"Ares contact UUID or a CRM locator in the form `crm:<provider>:<crm_contact_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1,"example":1},"required":false,"name":"page","in":"query"},{"schema":{"type":"number","enum":[25,50,100],"default":25,"example":25},"required":false,"name":"page_size","in":"query"}],"responses":{"200":{"description":"A page of notes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NoteList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Something went wrong on our side. Include the `X-Request-Id` from the response when you report this.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}},"post":{"summary":"Create a note for a contact","tags":["Contacts"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nCreate a note attached to the contact. Notes created via the API are authorless (`author` is always `null`).\n\n- `{id}` accepts an Ares contact UUID or a CRM locator `crm:<provider>:<crm_contact_id>` (providers: `salesforce`, `hubspot`, `pipedrive`).","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","description":"Ares contact UUID or a CRM locator in the form `crm:<provider>:<crm_contact_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"description":"Ares contact UUID or a CRM locator in the form `crm:<provider>:<crm_contact_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNote"}}}},"responses":{"201":{"description":"The created note.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Note"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Something went wrong on our side. Include the `X-Request-Id` from the response when you report this.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/deals/{id}":{"get":{"summary":"Get a deal","tags":["Deals"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nLook up a single deal by its Ares id.\n\n- Scoped to the API key's organization.\n- Deals on companies that are still staging return `404`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The deal.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}},"patch":{"summary":"Update a deal","tags":["Deals"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nUpdate fields on an existing deal. Send only the fields you want to change.\n\n- Omitted fields are left as-is.\n- Sending `null` on a nullable field clears it.\n- `pipeline_id` and `stage_id` must be supplied together (stage must belong to the pipeline) or both omitted.\n- `company_id` cannot be changed after creation.\n- Changes are not synced to a connected CRM.\n- Returns the full updated deal.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","description":"Ares deal id (UUID) or a CRM locator in the form `crm:<provider>:<crm_deal_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"description":"Ares deal id (UUID) or a CRM locator in the form `crm:<provider>:<crm_deal_id>`. Supported providers: `salesforce`, `hubspot`, `pipedrive`.","name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDealBody"}}}},"responses":{"200":{"description":"The updated deal.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}}}},"400":{"description":"The request body failed validation (`bad_request`) or the CRM provider your locator references is not connected for your organization (`crm_not_connected`). Check `error.code` to distinguish the two cases.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealsWrite400"}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"One of the referenced records was not found: no deal matches the supplied id or CRM locator (`deal_not_found`), the `pipeline_id` is unknown (`pipeline_not_found`), the `stage_id` is unknown or does not belong to the supplied pipeline (`stage_not_found`), or the `owner_id` does not match anyone in your organization (`owner_not_found`). Check `error.code` to see which field caused the miss.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealsPatch404"}}}},"409":{"description":"The supplied CRM deal id is already mapped to a different deal in your organization (`crm_mapping_conflict`). Use the existing deal record or remove the CRM mapping first.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictCrmDealMapping"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/deals":{"get":{"summary":"Search deals","tags":["Deals"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nPage through deals for the API key's organization, with optional filters and free-text search.\n\n- Page size defaults to 25; pass `page_size=25|50|100` to change it. Max page is 10,000. `has_more` is `false` at the cap -- narrow your filters to go further.\n- When `q` is set, results are ranked by name similarity then `updated_at DESC`. Without `q`, sorted by `updated_at DESC, id DESC`.\n- Deals on companies that are still staging are excluded.\n- `crm` and `crm_deal_id` must be provided together.\n- `min_amount` and `max_amount` compare against the raw amount value regardless of currency. Pair with `currency` when working across currencies.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1,"example":1},"required":false,"name":"page","in":"query"},{"schema":{"type":"number","enum":[25,50,100],"default":25,"example":25},"required":false,"name":"page_size","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":100,"example":"acme"},"required":false,"name":"q","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"owner_id","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"company_id","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"pipeline_id","in":"query"},{"schema":{"type":"string","format":"uuid"},"required":false,"name":"stage_id","in":"query"},{"schema":{"type":"string","enum":["open","won","lost"],"example":"open"},"required":false,"name":"state","in":"query"},{"schema":{"type":"string","enum":["salesforce","hubspot","pipedrive","ares"],"description":"Filter by deal origin. Accepted values: `salesforce`, `hubspot`, `pipedrive`, `ares`. Deals with no source are excluded.","example":"salesforce"},"required":false,"description":"Filter by deal origin. Accepted values: `salesforce`, `hubspot`, `pipedrive`, `ares`. Deals with no source are excluded.","name":"source","in":"query"},{"schema":{"type":"array","items":{"type":"string","pattern":"^[A-Z]{3}$"},"minItems":1,"maxItems":10,"description":"Filter by one or more ISO 4217 currency codes (uppercase, e.g. `USD`). Pass the parameter multiple times to filter on several currencies: `?currency=USD&currency=EUR`."},"required":false,"description":"Filter by one or more ISO 4217 currency codes (uppercase, e.g. `USD`). Pass the parameter multiple times to filter on several currencies: `?currency=USD&currency=EUR`.","name":"currency","in":"query","explode":true,"style":"form"},{"schema":{"type":"string","pattern":"^\\d+(\\.\\d{1,2})?$","example":"50000.00"},"required":false,"name":"min_amount","in":"query"},{"schema":{"type":"string","pattern":"^\\d+(\\.\\d{1,2})?$","example":"250000.00"},"required":false,"name":"max_amount","in":"query"},{"schema":{"type":"string","example":"2026-01-01"},"required":false,"name":"close_date_after","in":"query"},{"schema":{"type":"string","example":"2026-12-31"},"required":false,"name":"close_date_before","in":"query"},{"schema":{"type":"string","format":"date-time","example":"2026-06-01T00:00:00.000Z"},"required":false,"name":"updated_since","in":"query"},{"schema":{"type":"string","enum":["salesforce","hubspot","pipedrive"]},"required":false,"name":"crm","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":255},"required":false,"name":"crm_deal_id","in":"query"}],"responses":{"200":{"description":"A page of deals.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}},"post":{"summary":"Create a deal","tags":["Deals"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nCreate a new deal in the API key's organization.\n\n- If `crm` is set without `crm_deal_id`, the deal is pushed to that CRM in the background. The response returns immediately; the CRM mapping appears on a subsequent GET.\n- If neither `crm` nor `crm_deal_id` is set and the org's preferred CRM has sync-new-entities enabled, the deal is pushed to that CRM automatically.\n- If both `crm` and `crm_deal_id` are set, the existing CRM record is linked (no push).\n- `stage_id` must belong to `pipeline_id`. When `probability` is omitted it defaults from the selected stage.","security":[{"bearerAuth":[]}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDealBody"}}}},"responses":{"201":{"description":"The created deal.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deal"}}}},"400":{"description":"The request body failed validation (`bad_request`) or the CRM provider your locator references is not connected for your organization (`crm_not_connected`). Check `error.code` to distinguish the two cases.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealsWrite400"}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"One of the referenced records was not found: no company matches the supplied id (`company_not_found`), the `pipeline_id` is unknown (`pipeline_not_found`), the `stage_id` is unknown or does not belong to the supplied pipeline (`stage_not_found`), or the `owner_id` does not match anyone in your organization (`owner_not_found`). Check `error.code` to see which field caused the miss.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealsPost404"}}}},"409":{"description":"The supplied CRM deal id is already mapped to a different deal in your organization (`crm_mapping_conflict`). Use the existing deal record or remove the CRM mapping first.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictCrmDealMapping"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/deals/{id}/meetings":{"get":{"summary":"List meetings for a deal","tags":["Deals"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns a page of meetings linked to a deal, sorted by `start_time` descending.\n\n- Page size defaults to 25; pass `page_size=25|50|100` to change it.\n- Deleted meetings are excluded.\n- `start_after` is inclusive; `start_before` is exclusive. Returns `400` if `start_after >= start_before`.\n- Returns `404` if the deal does not exist or belongs to another org.\n- `response_status` on each participant is passed through verbatim from the calendar source (common values: `accepted`, `declined`, `tentative`, `needs_action`, `organizer`, `null`).\n- `ares_owner` is the Ares calendar owner, not the external meeting organizer.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1,"example":1},"required":false,"name":"page","in":"query"},{"schema":{"type":"number","enum":[25,50,100],"default":25,"example":25},"required":false,"name":"page_size","in":"query"},{"schema":{"allOf":[{"$ref":"#/components/schemas/MeetingStatus"},{"example":"scheduled"}]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","format":"date-time","description":"Inclusive lower bound on start_time. Accepts offsets (e.g. +01:00).","example":"2026-06-01T00:00:00.000Z"},"required":false,"description":"Inclusive lower bound on start_time. Accepts offsets (e.g. +01:00).","name":"start_after","in":"query"},{"schema":{"type":"string","format":"date-time","description":"Exclusive upper bound on start_time (half-open). Accepts offsets.","example":"2026-07-01T00:00:00.000Z"},"required":false,"description":"Exclusive upper bound on start_time (half-open). Accepts offsets.","name":"start_before","in":"query"},{"schema":{"type":"string","format":"date-time","example":"2026-06-01T00:00:00.000Z"},"required":false,"name":"updated_since","in":"query"}],"responses":{"200":{"description":"A page of meetings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/deals/{id}/action-items":{"get":{"summary":"List action items for a deal","tags":["Deals"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns a page of action items tied to a deal, most recent first.\n\n- Page size defaults to 25; pass `page_size=25|50|100` to change it.\n- By default returns `open` and `done` items. Pass `status` to filter to exactly one status, including `dismissed` (dismissed items are excluded unless requested).\n- `assignee.id` is a contact id for `type=contact`, or an organization person id (same id space as /v1/users) for `type=profile`. Null when unassigned or unresolvable.\n- `sources` cite the recording or Slack message an item came from, ordered by relevance. Slack sources expose metadata only, never message text.\n- Returns `404` if the deal does not exist or belongs to another org.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1,"example":1},"required":false,"name":"page","in":"query"},{"schema":{"type":"number","enum":[25,50,100],"default":25,"example":25},"required":false,"name":"page_size","in":"query"},{"schema":{"type":"string","enum":["open","done","dismissed"],"example":"open"},"required":false,"name":"status","in":"query"}],"responses":{"200":{"description":"A page of action items.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealActionItemList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/deals/{id}/stakeholders":{"get":{"summary":"List stakeholders for a deal","tags":["Deals"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns every contact linked to a deal, with their buyer-persona roles and per-deal engagement.\n\n- The full set is returned in one response. There is no pagination.\n- `roles` uses the buyer-persona vocabulary (`champion`, `economic_buyer`, `influencer`, `user`, `technical_buyer`, `blocker`, `detractor`).\n- `engagement.meeting_count` counts distinct past, non-cancelled meetings on this deal the stakeholder was a participant in. `engagement.last_interaction` is the most recent such meeting's start time.\n- Stakeholders are sorted by `last_interaction` descending (nulls last), then by name.\n- Returns `404` if the deal does not exist or belongs to another org.\n- Returns `409` in the rare case a deal has more than 1000 linked stakeholders.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The deal's stakeholders.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StakeholderList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"409":{"description":"This deal has too many linked stakeholders to return in a single unpaginated response. Contact support if you hit this.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StakeholdersOverflow"}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/deals/{id}/qualification":{"get":{"summary":"Get qualification for a deal","tags":["Deals"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns the deal's current qualification: the methodology, each element's status, and the evidence behind it.\n\n- Reflects the most recent qualification update from calls, emails, Slack or the assistant.\n- `methodology` is the framework the deal was qualified under: `meddpicc`, `meddic`, `meddpicc_scored`, `bant`, `sandler`, `middbanc` or `custom`. More may be added. It can differ from your org's current setting if that changed after the last update.\n- `elements` follow the methodology's order. Elements with nothing captured have `completed: false` and no items.\n- `score` is set only for `meddpicc_scored`: `1` don't have it, `2` have some of it, `3` have it, `0` not applicable.\n- `sources` show where each item came from. When `meeting_id` is set, it resolves with `GET /v1/meetings/{id}`. Quotes and message text are not returned.\n- A deal with no qualification yet returns `200` with `methodology: null` and no elements.\n- Returns `404` if the deal does not exist or belongs to another org.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"8b6a1f0e-2c5c-4d35-b6b4-2c1b0a7b2a01"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The deal's qualification.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealQualification"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/meetings":{"get":{"summary":"List meetings","tags":["Meetings"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns a page of your organization's meetings, sorted by `start_time` descending, independent of any deal.\n\n- Excludes internal meetings: every attendee is an organization member or on an organization email domain (booked rooms are ignored).\n- Includes both deal-attached and unattached meetings. `deal_ids` lists the visible deals each meeting is attached to (empty when unattached).\n- Page size defaults to 25; pass `page_size=25|50|100` to change it.\n- `start_after` is inclusive; `start_before` is exclusive. Returns `400` if `start_after >= start_before`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1,"example":1},"required":false,"name":"page","in":"query"},{"schema":{"type":"number","enum":[25,50,100],"default":25,"example":25},"required":false,"name":"page_size","in":"query"},{"schema":{"allOf":[{"$ref":"#/components/schemas/MeetingStatus"},{"example":"completed"}]},"required":false,"name":"status","in":"query"},{"schema":{"type":"string","format":"date-time","description":"Inclusive lower bound on start_time. Accepts offsets.","example":"2026-06-01T00:00:00.000Z"},"required":false,"description":"Inclusive lower bound on start_time. Accepts offsets.","name":"start_after","in":"query"},{"schema":{"type":"string","format":"date-time","description":"Exclusive upper bound on start_time (half-open). Accepts offsets.","example":"2026-07-01T00:00:00.000Z"},"required":false,"description":"Exclusive upper bound on start_time (half-open). Accepts offsets.","name":"start_before","in":"query"},{"schema":{"type":"string","format":"date-time","example":"2026-06-01T00:00:00.000Z"},"required":false,"name":"updated_since","in":"query"},{"schema":{"type":"string","enum":["true","false"],"description":"Filter by deal attachment. `true` = only meetings attached to a visible deal; `false` = only unattached. Omit for both.","example":"true"},"required":false,"description":"Filter by deal attachment. `true` = only meetings attached to a visible deal; `false` = only unattached. Omit for both.","name":"has_deal","in":"query"}],"responses":{"200":{"description":"A page of meetings.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingListAll"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/meetings/{id}":{"get":{"summary":"Get a meeting","tags":["Meetings"],"description":"**Rate limit:** 480 requests/minute per API key.\n\nReturns a meeting in your organization.\n- Scoped to the API key's organization; cross-org meetings return `404`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"11111111-1111-4111-9111-111111111111"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The meeting.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meeting"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"No resource matches the given id in your organization.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["not_found"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/meetings/{id}/insights":{"get":{"summary":"Get a meeting's insights","tags":["Meetings"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns AI-extracted intelligence (key topics, moments, metrics, stakeholders, action items, competitors) for a meeting's summarized recording.\n- `404` codes: `not_found`, `insights_not_recorded`, `insights_pending`, `insights_failed`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"11111111-1111-4111-9111-111111111111"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The insights.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingInsights"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Meeting not found, or its recording was never made, is still processing, or failed to summarize.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"anyOf":[{"type":"string","enum":["not_found"]},{"type":"string","enum":["insights_not_recorded"]},{"type":"string","enum":["insights_pending"]},{"type":"string","enum":["insights_failed"]}]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Something went wrong on our side. Include the `X-Request-Id` from the response when you report this.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["internal_error"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/meetings/{id}/transcript":{"get":{"summary":"Get a meeting transcript","tags":["Meetings"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns the transcript for a meeting in your organization.\n\n- Scoped to the API key's organization; cross-org meetings return `404`.\n- When a meeting has multiple recordings, picks the most recent non-deleted recording that has paragraphs; falls back to the most recent non-deleted recording overall.\n- Paragraphs are ordered by `sequence_number` ascending.\n- A silent meeting (transcribed but no speech) returns `200` with `paragraphs: []`.\n- `404` error codes: `not_found` (unknown id or cross-org), `transcript_not_recorded` (no recordings), `transcript_pending` (still processing), `transcript_failed` (terminal failure).","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"11111111-1111-4111-9111-111111111111"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The transcript.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Transcript"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Meeting not found, not yet recorded, still processing, or failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"anyOf":[{"type":"string","enum":["not_found"]},{"type":"string","enum":["transcript_not_recorded"]},{"type":"string","enum":["transcript_pending"]},{"type":"string","enum":["transcript_failed"]}]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/pipelines":{"get":{"summary":"List all deal pipelines","tags":["Pipelines"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nReturns every pipeline in the organization with its stages embedded in the `stages` field. Results are not paginated because the count is bounded by org configuration.\n\nSort order (pipelines and stages alike):\n- `display_order` ascending\n- `name` ascending\n- `id` ascending","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"All pipelines for the API key's organization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PipelineList"}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}},"/v1/users":{"get":{"summary":"List users","tags":["Users"],"description":"**Rate limit:** 100 requests/minute per API key.\n\nLook up the people in your organization. Active users, offboarded ex-members, and CRM-derived placeholders all live in the same table; the `status` query parameter chooses which to return.\n\n- Default returns active users only.\n- Use `status=offboarded` to look up ex-members referenced from historical deals or contacts.\n- Use `status=placeholder` to inspect CRM-imported stubs that never matched a real user.\n- Use `status=all` for every person in your organization.\n- Results are ordered by `name` ASC, with `id` ASC as a stable tiebreaker so page boundaries are deterministic across requests.\n- Page size defaults to 25; pass `page_size=25|50|100` to change it. Maximum page is 10,000. At the cap, `has_more` returns `false`.","security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1,"example":1},"required":false,"name":"page","in":"query"},{"schema":{"type":"number","enum":[25,50,100],"default":25,"example":25},"required":false,"name":"page_size","in":"query"},{"schema":{"type":"string","enum":["active","offboarded","placeholder","all"],"default":"active","description":"Which people to return. Default `active` returns current users only. `offboarded` returns ex-members. `placeholder` returns CRM-derived stubs. `all` returns every person regardless of status.","example":"active"},"required":false,"description":"Which people to return. Default `active` returns current users only. `offboarded` returns ex-members. `placeholder` returns CRM-derived stubs. `all` returns every person regardless of status.","name":"status","in":"query"}],"responses":{"200":{"description":"A page of users.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserList"}}}},"400":{"description":"One or more fields in the request were missing, the wrong type, or out of range.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["bad_request"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"401":{"description":"The request did not include a valid Ares API key. Pass it as `Authorization: Bearer ares_<key>`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}},"429":{"description":"This API key has exceeded its rate limit. Wait the number of seconds shown in the `Retry-After` header, then retry.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"string","example":"60"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"]},"message":{"type":"string"}},"required":["code","message"]}},"required":["error"]}}}}}}}}}