Acantera Studio

Integrations

Connect your site, your CRM or a kiosk to your organization's API with API keys, test it in the sandbox, link your IDs and check every request in the logs.

Acantera's API lets your own systems read and write your organization's data: your website shows the inventory, your CRM receives the leads, a kiosk reserves lots. Everything goes through an API key you create in Studio, with only the permissions that system needs.

The full API reference, with every route, its parameters and examples, is at api.acantera.com/docs. Each request carries the key in the Authorization: Bearer <key> header.

Create an API key

  1. Go to Settings → API keys and click New key.
  2. Under General, give it a Name that says where it's used ("Website", "CRM"). It helps you know which one to revoke or adjust later.
  3. Under Usage, choose Where it's used (below).
  4. Under Permissions, pick a Starting point and adjust resource by resource.
  5. Click Create key.

Studio shows you the key only once. Copy it, store it in your system's environment file or secrets manager, and click I've saved the key. If you lose it, revoke it and create a new one.

Server or browser

UsageForWhat it can do
ServerYour own system with a backend: your CRM, your ERP, a kiosk. The key never reaches the browser.Any permission.
BrowserA website's JavaScript, with no server. Anyone can see the key.Only works from the Allowed sites you list, and never with Private data.

Allowed sites go one per line, with https:// and no path. Use *. for every subdomain: https://*.casa-roble.mx.

Permissions

Each resource has four permissions: Create, Read, Update and Delete. The starting points:

Starting pointWhat it allows
Public websiteReads the catalog, registers leads and online reservations. Nothing private.
Read onlyReads everything, including buyers and reservations. Changes nothing.
Full accessEverything the API offers. Only for your own servers.
CustomYou choose resource by resource.

The resources are Organization, Communities, Models, Inventory, Inventory statuses, Master plan views, Agents, Payment plans, Leads, Online reservation (the email-verified hold buyers make on their own), Reservations and Buyers. The last two are Private data: server keys only.

If your organization has a layer turned off, its resources show as turned off and their routes return 403.

Edit or revoke a key

Edit changes its name, sites and permissions without changing the key. Revoke key turns it off right away: any system using it loses access.

Sandbox

The sandbox is a separate organization, with its own API keys, to test your integration without touching production data. There's one per organization, and it comes with the plans that include the API and integrations.

  1. Go to Settings → Sandbox and click Create sandbox.
  2. Choose How it starts: Copy from production (your current catalog, without leads or buyers) or Empty (only the basic statuses and pipeline of a new organization).
  3. Open sandbox takes you there. While you're in it, Studio marks it at the top; Leave sandbox takes you back.

What's different from production:

  • Test keys. Keys you create inside the sandbox start with ak_test_ and only reach its data. Every response carries the Acantera-Environment header.
  • Verification code 000000. Online reservations accept 000000 as well as the real code, so your automated tests don't depend on an email.
  • Emails only to your team. Emails only reach members of your organization, with the subject marked [Sandbox]. There are no push notifications.
  • Data. Communities, models, units, payment plans, views and points of interest are copied. Leads, buyers and their reservations are never copied: your customers' personal data stays in production.

The sandbox only updates when you ask: Copy from production replaces everything with your current catalog, and Empty leaves it like a new organization. API keys are kept either way. While it's copying, its API returns 409 sandbox_copying.

External IDs

An external ID links an Acantera record to its identifier in another system: a lot's code in your ERP, a buyer's customer number in your CRM. Your integration can look records up by that ID instead of Acantera's.

  1. In Settings → External IDs, set up which IDs you expect on each type of record: Communities, Models, Inventory or Buyers. Its name is the key it's published under in the API (externalIds), and it must be unique per type.
  2. On each record, open More actions → External IDs and enter its value.

Values an integration records that don't match any configured ID show up under Other IDs: they aren't published in the API, but lookups by external ID still find them.

Integration logs

Integrations, in the sidebar, shows every write request your organization's API received: the date, status, method, route, duration, API key, origin and the record it changed. Filter by key or by date, and search.

Open a request to see its Payload and its error, if any, and copy it with Copy JSON or Copy as cURL to reproduce it. Docs opens the API reference.

Custom fields

Custom fields are read and written in the API as customFields, with their API key. Your organization's keys read and write all of them, private and public.