REST API

Connect your own systems to your workspace.

A versioned REST API with an OpenAPI 3.1 contract. Each key acts as the member who created it, narrowed to the access, resources and IP addresses you choose.

An API that follows the same rules as the app

Your ERP, your website or an internal script can read and update companies, contacts, deals, projects and your own data models in Squario. Every request runs as the member who owns the key, with that member’s permissions, so a key never does more than its owner could in the app. The changes it makes carry the key’s name in the audit trail.

Illustrative data

Keys that do only what the integration needs

A key belongs to one member of one workspace and acts as that member. When you create it, narrow it further: read-only or read and write, the resources it can reach, the IP addresses it accepts and the day it expires.

  • Read-only or read & write

    A read-only key lists and reads records. Every write it attempts is refused.

  • Only the resources you pick

    Limit a key to the resources an integration needs, such as leads and contacts. The rest is refused.

  • An IP allowlist per key

    Accept calls only from your servers: up to 50 IP addresses or CIDR ranges per key.

  • Every key expires

    Choose 30, 90 or 365 days, or a date within a year. The owner is reminded 14 and 3 days before.

See what every integration does

Settings → API brings together your keys, the month’s usage and a request log. Each change a key makes carries its name, and your developers work from an OpenAPI 3.1 contract and the developer documentation.

  • Usage against your allowance

    The month’s requests against your plan’s allowance, a 30-day chart of reads and writes, and the busiest keys.

  • A log of every request

    Filter by status, method, key or error code, then open a request to copy its ID. Entries are kept 14 days.

  • Changes signed with the key’s name

    Writes made through the API show in the audit trail as “API · key name”, attributed to the key’s owner.

  • An OpenAPI 3.1 contract

    Download the contract, then follow the guides and the endpoint reference in the developer documentation.

Integrations you can keep an eye on

Three moments when another system works with Squario, within the limits you set and with a record of what it did.

  • The nightly ERP sync

    The ERP and Squario agree on every customer.

    Tom creates a read & write key for the ERP, limited to companies, contacts and the server’s IP address. Each night the ERP updates billing addresses, and Delcourt’s history shows each change as “API · ERP sync”.

  • An order from the website

    A won deal, closed the way the app does it.

    When Atelier Moreau confirms an order in the online shop, the shop calls the API’s “mark deal won” action instead of editing the status, so Squario closes the deal exactly as the app’s button would.

  • When someone leaves

    Léa’s keys leave with her.

    Léa’s membership is deactivated and her keys are revoked with it. Max, an administrator, checks the request log and creates a replacement key for the website forms, and new leads come in again.

Connect Squario to the systems you already run.

In a 30-minute demo, tell us which tools you want to connect and see keys, usage and the request log in Settings → API. Your developers can start from the documentation.

Capability reference

Everything in REST API

36 capabilities

Full feature reference

Records & views

  • Read and write workspace data over a versioned JSON REST API (v1) described by a public OpenAPI 3.1 document.
  • Reach companies, contacts, leads, deals, activities, products, projects, tasks, expenses, proposals and setup lists through one API.
  • Create, read, update, archive and restore records, custom fields included.
  • Read and write the records of your own data models through the same routes as built-in records.
  • List records with 15 filter operators (relative dates, distance), custom and related-record fields, sorting, search and archived records.
Show all 36 capabilities

Records & views

  • Page through results by page number or by cursor for any depth, up to 100 records per page.
  • Ask for only the fields you need on a list or a single record.
  • Discover the resources a key can use, each one’s live fields and links, and the key’s own workspace, quota and limits.
  • Link and unlink records: a contact’s companies with role details, deal contacts, project deals, and tags on records.
  • Run app actions such as marking a deal won, completing an activity or converting a lead, each with a published input schema.

Workflows & actions

  • Create named API keys in Settings, read-only or read & write, with the secret shown only once.
  • Limit a key to the resources you pick; links and filters that reach another resource are refused too.
  • Accept a key’s requests only from up to 50 IPv4 or IPv6 addresses or CIDR ranges.
  • Every key expires: in 30, 90 or 365 days, or on a date you choose within a year.
  • Get an in-app notice, push and email 14 days and 3 days before one of your keys expires.
  • Revoke a key at any time; anything using it stops working immediately.
  • Retry writes safely with an Idempotency-Key header: a repeated request returns the first answer instead of writing twice.
  • Find the base URL, the authentication header, the OpenAPI link and a first request to copy in Settings.
  • Track usage: this month’s requests against your plan, a 30-day chart of reads and writes, and requests per key.
  • Inspect 14 days of requests: filter by status, method, key, error code or duration, group, save views, export, copy a request ID.
  • Get clear JSON errors with a code, a fix hint such as the nearest valid field name, and a request ID on every response.
  • Read remaining rate limit and monthly quota in response headers, with a wait time when a request is throttled.
  • Follow developer docs: a quickstart in cURL, JavaScript and Python, guides, and a reference page per resource.

Permissions & security

  • A key acts as its member and can never do more than they can in the app; rights and plan are checked again on every request.
  • Field restrictions apply through the API: fields hidden from the key’s member come back empty.
  • Separate permissions to create and use your own keys, and to see and revoke every member’s keys (owners and admins by default).
  • A member’s keys are revoked when they are deactivated and do not come back if they are reactivated.
  • Keys carry the two-factor level of the session that created them; after turning on two-factor, older keys must be recreated.
  • Changes made through the API show in the audit log and record history as “API · key name”, with the member who owns the key.
  • Secrets are stored only as a hash, browsers cannot call the API directly, and repeated bad keys from one IP address are throttled.
  • Modules not available in the workspace are refused through the API as well, and left out of the resource list.

Automation hooks

  • Push changes out with an automation’s webhook step, then read what you need back through the API.

Limits by plan

  • Included on Pro, Growth, Scale and Enterprise; requests per month: 50,000 / 250,000 / 1,000,000 / unlimited. Not on Free.
  • Rate limits: 120 requests a minute and 5,000 an hour per key, 600 a minute per workspace.
  • Up to 25 active keys per member in a workspace, and request bodies up to 1 MiB.
  • After a downgrade to a plan without the API, requests are refused but existing keys stay visible so you can revoke them.

Questions about the REST API

Which plans include the API?
Pro, Growth, Scale and Enterprise. Each month the workspace can make 50,000 requests on Pro, 250,000 on Growth and 1,000,000 on Scale; Enterprise is unlimited by default. All keys share the allowance, which resets each calendar month (UTC). Free has no API access.
Can a key do more than the member who created it?
No. A key acts as its owner, and the owner’s membership, role and field permissions are checked on every request. The key’s access, resource and IP restrictions only narrow that. If the owner leaves the workspace, their keys are revoked.
Who can create and manage keys?
Owners and administrators by default, and any role you give API access to. Members see their own keys; a role with API management sees and revokes every key in the workspace. A key’s secret is shown once, when it is created.
Are there rate limits?
Yes. By default a key can make 120 requests a minute and 5,000 an hour, and the whole workspace 600 a minute. Responses carry headers with what remains, and a throttled request gets a 429 with a Retry-After delay.
Can Squario tell our system when a record changes?
Yes, with Automations: a record trigger and a webhook action call your HTTPS endpoint, and your system reads what it needs back through the API. The API itself has no webhook subscription endpoint.
Where do our developers start?
In the developer documentation: a quickstart with cURL, JavaScript and Python, guides to filters, pagination, safe writes and errors, and the endpoint reference generated from the OpenAPI contract.