Overview
The Elementum API provides programmatic access to the resources published in the OpenAPI specification: records, attachments, users, groups, apps, automations, and the other operations listed below. This guide covers authentication, base URLs, filtering, pagination, and the endpoint list from that specification.Elementum API Specification
Open the live Swagger UI for every endpoint, parameter, and schema.
API Status
Check the current status of our API services and get notified of any issues.
Authentication
API access is at the user level. Create a client ID and client secret for a user, then exchange those credentials for a Bearer token. Send the token on every API request except the token request itself. The token response includesexpires_in, the number of seconds until that token expires.
Step 1: Create API credentials
- Sign in to Elementum in your web browser
- Open the User Settings menu and go to the OAuth section
- Select Create New Token, choose API Access, and click Generate Token
- Save the generated Client ID and Client Secret immediately — they are shown only once and cannot be retrieved later
Step 2: Obtain a Bearer token
Request an access token with OAuth 2.0 client credentials. The token endpoint is on the API host root, not under/v1.
- Endpoint:
POST https://api.elementum.io/oauth/token(EU:https://api.eu.elementum.io/oauth/token) - Content-Type:
application/json - Body: JSON with
grant_type,client_id, andclient_secret.grant_typemust beclient_credentials.
access_token, token_type (Bearer), and expires_in. Send the access token on later requests as Authorization: Bearer {access_token}. Records created or updated via the API are attributed to the API user.
Request a new token when the current one expires. Use the expires_in value from the response.
Step 3: Make authenticated API calls
Include the access token in theAuthorization header:
YOUR_ACCESS_TOKEN, the record type, and the namespace with your values. See Record types and namespaces and the endpoint reference below.
Base URL
Resource endpoints are relative to this base URL:https://api.elementum.io/v1
For users in the EU region, use the EU endpoint:
https://api.eu.elementum.io/v1The access-token operation is the exception. Call POST /oauth/token on the host root (https://api.elementum.io/oauth/token), not under /v1.Core Concepts
Record types and namespaces
Record operations use arecordType and an alias.
recordTypeisapps,elements,tasks, ortransactions.aliasis that record type’s namespace or its UUID.
- In the Create Record modal for that record type
- In Admin — aliases can be set in the Create Definition (or equivalent) modals for the app, element, or task
/records segment:
- List or create:
/{recordType}/{alias}/records - One record:
/{recordType}/{alias}/records/{id}
/records segment. Example: /{recordType}/{alias}/{id}/attachments.
File attachments
Attachment operations add a file, add a URL link, download file content, or delete an attachment.- Maximum file size: 250MB per file
- Add an attachment:
POST /{recordType}/{alias}/{id}/attachmentswithmultipart/form-data. The file field name isfile. A successful upload returns 202 Accepted. - Add a link:
POST /{recordType}/{alias}/{id}/attachments/url-linkswith a JSON body.urlis required.descriptionis optional. - Download content:
GET /{recordType}/{alias}/{id}/attachments/{attachmentId}/content
Filtering results
These operations accept an RSQL string in thefilter query parameter: Get the list of records, List users in your organization, List agents under an app, and List skills under an app. The operators and examples below are the ones published on the filter parameter in the OpenAPI specification.
Operators
Combining filters
- AND: semicolon (
;). Example:Created At!=null;Created At=ge=2021-01-01T07:58:30.000Z. In URLs, encode;as%3b. - OR: comma (
,). Example:Created At!=null,Created At=ge=2021-01-01T07:58:30.00Z. In URLs, encode,as%2c.
AND operators take precedence over OR operators in filter expressions. URL-encode special characters when passing filters in query parameters.
Pagination
These list operations acceptfirst, after, last, and before: records, watchers, comments, users, groups, users in a group, agents, skills, views, and tables.
Error handling
The API uses standard HTTP status codes.Rate limiting
The API enforces rate limiting. When the limit is exceeded, the response status is 429 Too Many Requests.Endpoint reference
Paths below are relative tohttps://api.elementum.io/v1 (EU: https://api.eu.elementum.io/v1), except Request an access token, which is POST /oauth/token on the host root.
Groups follow the tag order in the OpenAPI specification. Summaries match the operation summaries in Swagger UI. Request bodies, parameters, and response schemas are on the Swagger UI page.
Access Token
Manage access tokens using OAuth 2.0 standards.Agents
Manage AI agents.Apps
Compose and manage apps.Attachments
Manage the attachments of a record.Automations
Manage automations.Comments
Manage the conversation of a record.Flows
Manage flows.Groups
Manage groups and group membership.Domains
Manage organization domains.Records
Manage your records.Related-items
Manage the related items of a record.Search Tables
Manage search tables (snowflake and linked).Skills
Manage agent skills.Tables
Manage tables: schemas, fields, joins, and join mappings.Users
Manage users in your organization.Views
Manage app views.Watchers
Manage the watchers of a record.Best practices and important notes
- Field names and picklist values match the record type definition in Admin. Use the exact names and values from your app.
- Date and date-time values use ISO 8601 with a UTC (
Z) offset, as in the filter examples:2022-03-15T07:58:30.000Z. - Record creation must include the required fields for that record type.
- Related items are added one item at a time. The body is a single object with a required
idand an optionalalias. - URL-encode special characters in filter strings when using query parameters.
- Read
expires_inon the token response and request a new token when the current one expires.
Versioning
The current version isv1, specified in the URL of resource requests:
https://api.elementum.io/v1/{endpoint}