REST API reference
Every endpoint of the IA Compa REST API v1 with its method, path, scope, parameters and examples.
- Who can do this
- Software holding an API key with the scope each endpoint lists.
22 operations under https://iac.manage.iacompa.com/api/v1. Paths below are relative to that base. The machine-readable version is the OpenAPI document at https://iac.manage.iacompa.com/api/v1/openapi.json.
Workspace
GET /workspace
The account this key belongs to, its turned-on features, this key's scopes and today's usage against its daily limits.
- Scope:
workspace:read. Answers 200 with one record.
curl https://iac.manage.iacompa.com/api/v1/workspace \
-H "Authorization: Bearer $IACOMPA_API_KEY"{
"data": {
"id": "6f0c…",
"object": "workspace",
"name": "Rivera Plumbing",
"is_demo": false,
"status": "active",
"features": ["crm", "…"],
"api_key": {
"name": "Website sync",
"display_prefix": "iac_live_AbC…",
"scopes": ["workspace:read", "crm:read", "crm:write"],
"expires_at": null,
"made_by_name": "Ana Rivera"
},
"limits": { "writes_per_day": 2000, "records_read_per_day": 50000, "writes_today": 12, "records_read_today": 340 }
}
}Contacts
GET /contacts
Lists contacts, newest change first. Filter by text, company, last change or archived state.
- Scope:
crm:read. Answers 200 with a page of records.
| Parameter | In | Type | Required |
|---|---|---|---|
query | query | string (max 100) | No |
company_id | query | uuid | No |
updated_after | query | string (date-time) | No |
archived | query | one of: true, false | No |
limit | query | integer (min 1, max 100) | No |
cursor | query | string | No |
curl "https://iac.manage.iacompa.com/api/v1/contacts?query=rivera&limit=25" \
-H "Authorization: Bearer $IACOMPA_API_KEY"{
"data": [
{ "id": "1b7e…", "object": "contact", "name": "Luis Rivera", "…": "…" }
],
"next_cursor": "eyJ0IjoiMjAyNi0xMS0yOF…"
}GET /contacts/{id}
Gets one contact with its details, tags and version.
- Scope:
crm:read. Answers 200 with one record. idin the path is the record's id (a UUID).
POST /contacts
Creates a contact. Answers 201 with the record as it is now.
- Scope:
crm:write. Answers 201 with one record.
| Parameter | In | Type | Required |
|---|---|---|---|
first_name | body | string (max 120) or null | No |
last_name | body | string (max 120) or null | No |
email | body | string (email) or null | No |
phone | body | string (max 40) or null | No |
job_title | body | string (max 120) or null | No |
company_id | body | uuid or null | No |
locale | body | string (max 35) | No |
preferred_contact_method | body | string (max 20) | No |
curl https://iac.manage.iacompa.com/api/v1/contacts \
-H "Authorization: Bearer $IACOMPA_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: form-4821" \
-d '{"first_name":"Luis","last_name":"Rivera","email":"luis@example.com","phone":"+15135550142"}'{
"data": {
"id": "1b7e…",
"object": "contact",
"first_name": "Luis",
"last_name": "Rivera",
"name": "Luis Rivera",
"email": "luis@example.com",
"phone": "+15135550142",
"job_title": null,
"company_id": null,
"locale": "en",
"preferred_contact_method": null,
"owner_name": "Ana Rivera",
"tags": [],
"version": 1,
"archived": false,
"created_at": "2026-11-28T15:04:05Z",
"updated_at": "2026-11-28T15:04:05Z"
}
}PATCH /contacts/{id}
Updates only the fields you send. Send the version you read to avoid overwriting someone else's change.
- Scope:
crm:write. Answers 200 with one record. idin the path is the record's id (a UUID).
| Parameter | In | Type | Required |
|---|---|---|---|
first_name | body | string (max 120) or null | No |
last_name | body | string (max 120) or null | No |
email | body | string (email) or null | No |
phone | body | string (max 40) or null | No |
job_title | body | string (max 120) or null | No |
company_id | body | uuid or null | No |
locale | body | string (max 35) | No |
preferred_contact_method | body | string (max 20) | No |
version | body | integer (min 1) | No |
curl -X PATCH https://iac.manage.iacompa.com/api/v1/contacts/1b7e… \
-H "Authorization: Bearer $IACOMPA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"job_title":"Owner","version":1}'Companies
GET /companies
Lists companies, newest change first.
- Scope:
crm:read. Answers 200 with a page of records.
| Parameter | In | Type | Required |
|---|---|---|---|
query | query | string (max 100) | No |
updated_after | query | string (date-time) | No |
archived | query | one of: true, false | No |
limit | query | integer (min 1, max 100) | No |
cursor | query | string | No |
GET /companies/{id}
Gets one company.
- Scope:
crm:read. Answers 200 with one record. idin the path is the record's id (a UUID).
POST /companies
Creates a company. name is required.
- Scope:
crm:write. Answers 201 with one record.
| Parameter | In | Type | Required |
|---|---|---|---|
name | body | string (max 200) | Yes |
domain | body | string (max 253) or null | No |
website | body | string (uri) or null | No |
phone | body | string (max 40) or null | No |
industry | body | string (max 120) or null | No |
PATCH /companies/{id}
Updates only the fields you send.
- Scope:
crm:write. Answers 200 with one record. idin the path is the record's id (a UUID).
| Parameter | In | Type | Required |
|---|---|---|---|
name | body | string (max 200) | No |
domain | body | string (max 253) or null | No |
website | body | string (uri) or null | No |
phone | body | string (max 40) or null | No |
industry | body | string (max 120) or null | No |
version | body | integer (min 1) | No |
Opportunities
GET /opportunities
Lists opportunities, newest change first. Filter by state, pipeline, stage, company or contact.
- Scope:
crm:read. Answers 200 with a page of records.
| Parameter | In | Type | Required |
|---|---|---|---|
query | query | string (max 100) | No |
state | query | one of: open, won, lost | No |
pipeline_id | query | uuid | No |
stage_id | query | uuid | No |
company_id | query | uuid | No |
contact_id | query | uuid | No |
updated_after | query | string (date-time) | No |
archived | query | one of: true, false | No |
limit | query | integer (min 1, max 100) | No |
cursor | query | string | No |
GET /opportunities/{id}
Gets one opportunity with its current pipeline and stage.
- Scope:
crm:read. Answers 200 with one record. idin the path is the record's id (a UUID).
POST /opportunities
Creates an opportunity, optionally in a pipeline stage (send pipeline_id and stage_id together).
- Scope:
crm:write. Answers 201 with one record.
| Parameter | In | Type | Required |
|---|---|---|---|
title | body | string (max 200) | Yes |
company_id | body | uuid or null | No |
contact_id | body | uuid or null | No |
priority | body | string (max 20) | No |
value_cents | body | integer (min 0) or null | No |
currency | body | string | No |
expected_close_date | body | string (date) or null | No |
pipeline_id | body | uuid | No |
stage_id | body | uuid | No |
PATCH /opportunities/{id}
Updates only the fields you send. It can't mark an opportunity won or lost.
- Scope:
crm:write. Answers 200 with one record. idin the path is the record's id (a UUID).
| Parameter | In | Type | Required |
|---|---|---|---|
title | body | string (max 200) | No |
company_id | body | uuid or null | No |
contact_id | body | uuid or null | No |
priority | body | string (max 20) | No |
value_cents | body | integer (min 0) or null | No |
currency | body | string | No |
expected_close_date | body | string (date) or null | No |
version | body | integer (min 1) | No |
POST /opportunities/{id}/move
Moves an opportunity to another stage of its pipeline. It can't move into or out of Won or Lost.
- Scope:
crm:write. Answers 200 with one record. idin the path is the record's id (a UUID).
| Parameter | In | Type | Required |
|---|---|---|---|
stage_id | body | uuid | Yes |
reason | body | string (max 500) | No |
curl https://iac.manage.iacompa.com/api/v1/opportunities/9c2d…/move \
-H "Authorization: Bearer $IACOMPA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"stage_id":"4e1a…","reason":"Quote sent"}'Pipelines
GET /pipelines
Lists the opportunity pipelines and their stages.
- Scope:
crm:read. Answers 200 with a page of records.
curl https://iac.manage.iacompa.com/api/v1/pipelines \
-H "Authorization: Bearer $IACOMPA_API_KEY"Tasks
GET /tasks
Lists tasks, soonest due first. Open and in-progress tasks unless you ask for a status.
- Scope:
crm:read. Answers 200 with a page of records.
| Parameter | In | Type | Required |
|---|---|---|---|
status | query | one of: open, in_progress, resolved, cancelled | No |
assigned_to_me | query | one of: true, false | No |
record_type | query | one of: contact, company, opportunity | No |
record_id | query | uuid | No |
limit | query | integer (min 1, max 100) | No |
cursor | query | string | No |
POST /tasks
Creates a task on a contact, company or opportunity, assigned to the key's maker.
- Scope:
crm:write. Answers 201 with one record.
| Parameter | In | Type | Required |
|---|---|---|---|
record_type | body | one of: contact, company, opportunity | Yes |
record_id | body | uuid | Yes |
title | body | string (max 200) | Yes |
description | body | string (max 4000) or null | No |
priority | body | string (max 20) | No |
due_at | body | string (date-time) or null | No |
POST /tasks/{id}/complete
Marks a task done.
- Scope:
crm:write. Answers 200 with one record. idin the path is the record's id (a UUID).
Notes
POST /notes
Adds a note to a contact, company or opportunity.
- Scope:
crm:write. Answers 201 with one record.
| Parameter | In | Type | Required |
|---|---|---|---|
record_type | body | one of: contact, company, opportunity | Yes |
record_id | body | uuid | Yes |
body | body | string (max 10000) | Yes |
subject | body | string (max 200) | No |
curl https://iac.manage.iacompa.com/api/v1/notes \
-H "Authorization: Bearer $IACOMPA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"record_type":"contact","record_id":"1b7e…","body":"Asked for a Monday visit."}'Tags
GET /tags
Lists the account's tags.
- Scope:
crm:read. Answers 200 with a page of records.
| Parameter | In | Type | Required |
|---|---|---|---|
query | query | string (max 100) | No |
limit | query | integer (min 1, max 100) | No |
cursor | query | string | No |
POST /tags/apply
Applies an existing tag to a contact, company or opportunity.
- Scope:
crm:write. Answers 200 with one record.
| Parameter | In | Type | Required |
|---|---|---|---|
tag_id | body | uuid | Yes |
record_type | body | one of: contact, company, opportunity | Yes |
record_id | body | uuid | Yes |
POST /tags/remove
Removes a tag from a contact, company or opportunity.
- Scope:
crm:write. Answers 200 with one record.
| Parameter | In | Type | Required |
|---|---|---|---|
tag_id | body | uuid | Yes |
record_type | body | one of: contact, company, opportunity | Yes |
record_id | body | uuid | Yes |
Related articles
- REST API guideRolling outAuthenticate with API keys and use scopes, errors, rate limits, idempotency, pagination and the OpenAPI document.
- Make your first API callRolling outGet an API key, read your account, create a contact and page through contacts with curl.
- ContactsAdd, find and update the people you do business with, see every interaction on one timeline, and archive what you no longer need.
- Opportunities and pipelinesTrack deals through the stages of a pipeline on a board, a list or a forecast, and set up pipelines, stages and lost reasons.