Sign inStart free
DEVELOPER PLATFORM · V1 PREVIEW

Read your company's data from your own systems.

With the Samloryx OS API your own systems can read your company's data: the companies and people you deal with, your sites, documents and obligations, your matched tenders, and the list of agents working for you. A key only ever reads the company it belongs to.

Your first call
curl https://api.samloryx.co.za/api/v1/me \
  -H "X-API-Key: $SAMLORYX_API_KEY"
200 OK
{
  "displayName": "Accounting sync",
  "tenant": "Thabeng Civils",
  "roles": ["API"],
  "scopes": ["graph.read", "workspaces.read"]
}
WHERE IT STANDS

What you can use today, and what is not built yet.

Version 1 is small on purpose. Everything on the left is running and documented. Nothing on the right exists yet, and we want you to know that before you plan around it.

Available now
  • Read-only REST API. Nine endpoints covering your business records, tenders, workspaces and the agent catalogue.
  • API keys with scopes. An owner or admin creates and revokes them. A key is shown once, and we store only a digest of it.
  • Separation between companies. A key reads the company it was created in and nothing else.
  • One error format. Every error is application/problem+json with a correlation id.
  • Usage you can see. Every authorised call is counted for its key. Refused calls are not counted.
  • Webhook endpoints. Register an HTTPS URL, receive a signed test delivery and verify the signature.
  • Growth CRM reads, in beta. A key with crm.read reads companies, people, deals, tasks, quotes, invoices and reports. It never changes a CRM record, and fields your company restricted stay hidden from it.
  • A few writes, in beta. A key with tasks.write creates and completes tasks. A key with flow.start starts a flow you already built. See Automate.
  • Event webhooks, in beta. Signed messages when a task is created or completed, a flow run needs approval, finishes or fails, a Growth lead is added or an invoice is sent, and when a CRM company, person or deal is added or a deal changes stage, is won or is lost. CRM events carry ids, stage names and close dates, never deal titles or reasons.
  • An OpenAPI document. Import it into Postman or generate a client from it.
Not built yet
  • Other writes. Beyond tasks and starting flows, a key cannot create, change or delete anything. No key can approve or reject.
  • Running agents directly. You can read the catalogue and start a flow, but not run an agent on its own.
  • More events. Only the thirteen events in the Automate catalogue are sent today.
  • File contents. You can read a document's record but not the file itself.
  • Paging and filtering. A list returns its newest 200 rows at most.
  • SDKs, a sandbox, OAuth and MCP. None of these exist. Use the REST API with a key.
HOW ACCESS WORKS

The company controls its own keys.

1 · An owner creates the key

In the app, under Developers. They choose which scopes it carries. The key is shown once.

2 · You call the API

Send the key in the X-API-Key header to api.samloryx.co.za. Anything outside the key's scopes is refused.

3 · They can end it at any time

Revoking a key takes effect on the next request. Its usage history stays visible afterwards.

The API cannot do anything the product would not let a person do. A change made with a key goes through the same checks as the app, is recorded against the person who issued the key, and names the key on the audit trail. Approvals, authority levels and restricted actions stay with people.