Custom integrations let you connect Cevro to any system with an API. Your back-office, CRM, internal tools, payment processors, third-party services—if it has an API, your AI agent can use it.Documentation Index
Fetch the complete documentation index at: https://setup.cevro.ai/llms.txt
Use this file to discover all available pages before exploring further.
Why Custom Integrations?
You’re not limited by what Cevro supports out of the box. Custom integrations give your AI agent the ability to:- Fetch data from any system — player info, transaction history, account status, inventory, anything
- Take actions — issue bonuses, update records, trigger workflows, send notifications
- Make decisions using real-time information from your actual systems
Overview
Navigate to Settings → Integrations to view your integrations. Custom integrations appear in their own section.If you don’t see custom integrations, reach out to your CSM to enable this feature.
- Player Info
- Player Balances
- Active Bonuses
- Deposits
- Withdrawals
Getting Started
Creating an Integration
- Click Add Custom Integration
- Enter a name and optional description
- Add operations (see below)
Configuring Operations
Each operation represents a single API endpoint. Click an operation to configure it through these tabs:Create Tab
| Setting | Description |
|---|---|
| Display Label | Human-readable name (e.g., “Player Deposits”) |
| Name | Auto-generated identifier from the label |
| Data Type | READ for fetching data, WRITE for actions that modify data |
| Available From | Where this operation can be used: AIP (AI Procedures), Rule Trigger (automation rules) |
Integrate Tab
| Setting | Description |
|---|---|
| Endpoint | The API URL—supports dynamic values like {{workspace.boApiUrl}}/v1/player |
| HTTP Method | GET, POST, PUT, PATCH, or DELETE |
| Parameters | Request parameters (see Parameters below) |
| AI Instructions | Describe what this operation does—helps the AI know when and how to use it |
| Headers | Optional custom HTTP headers |
Authenticate Tab
| Setting | Description |
|---|---|
| IP Allowlist | Cevro’s outbound IPs—add these to your API’s firewall if needed |
| Requires Authentication | When enabled, players must be authenticated before this operation runs |
| Use Workspace Authentication | When enabled (default), the workspace’s authentication strategy is applied to this operation’s requests. Disable for operations that connect to a different API with their own authentication. See Workspace-Level Settings. |
Preview Tab
Test your operation:- Choose Run API to test against your real API, or Manual JSON to paste a sample response
- Fill in test values for dynamic parameters
- Click Run Test
- Review the response
Code Transformation Tab
Transform API responses before they reach the AI:- RAW mode passes the response through unchanged (recommended for most cases)
- CODE mode lets you write JavaScript to transform the response
Save Tab
Review and save your configuration.Parameters
Parameters define what data gets sent with each API request.Internal Parameters
Values the system provides automatically. Set a value using:- Fixed values (e.g.,
50for a limit) - Dynamic values (e.g.,
{{contact.email}},{{brand.slug}},{{workspace.boApiUrl}})
External Parameters
Values the AI determines at runtime based on the conversation. Leave the value empty and write a clear description so the AI knows what to ask the player or infer from context. Example: A “transaction lookup” operation might have an externaltransaction_id parameter with description: “The transaction ID the player wants to inquire about.”
Need nested JSON bodies (GraphQL mutations, Jira/Monday-style APIs)? Cevro supports this, but the configuration isn’t fully exposed in the dashboard today. Reach out to your CSM and we’ll wire it up for you.
Field Catalog
The field catalog defines what data from API responses is available to the AI.Auto-Discovery
After running a test in the Preview tab:- Click Auto-Discover
- Cevro analyzes the response and creates fields with AI-generated labels and descriptions
- Review and customize as needed
Customizing Fields
For each field, you can:- Edit the label (display name)
- Edit the description (helps the AI understand the field)
- Change the type (String, Number, Boolean, Date, etc.)
Hiding Fields from the AI
Not every field your API returns should be visible to the AI agent. Internal IDs, debug data, or sensitive fields can be hidden so the AI never sees or references them. Click the eye icon on any field to hide it. Hidden fields:- Are excluded from the AI’s view — the agent cannot see, reference, or mention the data
- Stay in the catalog — they appear in a collapsed “Hidden” section so you can restore them anytime
- Survive auto-discovery — re-running discovery won’t un-hide fields you’ve hidden
- Can be restored by clicking the eye icon in the hidden section
Dynamic Object Fields
Some APIs return objects where the keys are data values, not fixed field names. For example, a player segments endpoint might return:segment_name + value), regardless of what keys each player has.
Auto-discovery detects some dynamic patterns automatically — numeric ranges like
20.00-100.00, UUIDs, numeric IDs, and dates are caught and set to Dynamic Object. However, human-readable keys like bonus_segment or EUR look like normal field names and won’t be auto-detected.When to Use Dynamic Object
Look for these signs:- The field catalog keeps growing with new field names that all come from the same parent object
- The same operation works for one player but shows different fields for another
- Keys represent categories, currencies, IDs, or labels that vary per player
How to Change a Field to Dynamic Object
- Open the operation and go to the field catalog
- Find the parent field (e.g.,
segments) - Change the type from Object to Dynamic Object
- Set the Key Label — this names the key column in the output (e.g.,
segment_name) - Save
Workspace-Level Settings
Some settings apply across the entire workspace and are configured on the primary integration’s sidebar. These appear under Authentication, Base Environment, and Settings in the integration sidebar.Back-Office API URL
A base URL for your primary back-office API. Once set, reference it in any operation’s endpoint using{{workspace.boApiUrl}}:
@ in the field to pick from available tags. This is how you handle multi-brand back-offices where each brand has its own API host:
{{workspace.boApiUrl}} is resolved first, then any nested {{brand.*}} tags inside it are resolved against the current conversation’s brand. The |default:'...' filter provides a fallback host when a brand doesn’t define apiDomain. Only brand.* and workspace.* tags are available in this field — request-scoped tags like {{contact.*}}, {{param.*}}, or {{date.*}} don’t apply to a workspace-wide base URL.
Authentication Strategy
The workspace authentication strategy controls how Cevro authenticates outbound API requests. This is configured once and applies to all operations that have Use Workspace Authentication enabled. Common strategies include:| Strategy | How It Works |
|---|---|
| API Key | A static key attached as a header (default: Authorization: Bearer <token>). Advanced options let you customize the header name and disable the Bearer prefix. |
| Contact Bearer Token | A per-player token captured during authentication, attached automatically |
| Signing Hash | Requests are cryptographically signed with a shared secret |
Your CSM configures the authentication strategy during onboarding. The API Credentials section on the Authentication sidebar page lets workspace admins manage the API key directly. Click Advanced to customize the header name or disable the
Bearer prefix.How Authentication Applies to Operations
The workspace authentication strategy is applied to every operation where Use Workspace Authentication is enabled (which is the default). This means:- The strategy adds authentication headers or parameters to the outgoing request
- Any
Authorizationheader you set manually on the operation may be overwritten by the workspace strategy
Player Authentication
Controls how players verify their identity before the AI can access their data. See Player Authentication for full details.Troubleshooting
Fields not appearing in AIP builder
- Enable Available From: AIP on the Create tab
- Check the field isn’t hidden in the catalog
- Run Auto-Discover after testing
Test returns unexpected results
- Check the Endpoint URL (no missing slashes)
- Verify parameter names match your API exactly (camelCase vs snake_case)
- Review the full response in Preview
Wrong authentication token on requests
If an operation is sending the wrong token or getting authentication errors:- Check if Use Workspace Authentication is enabled on the operation’s Authenticate tab
- When enabled, the workspace authentication strategy overrides custom
Authorizationheaders - Fix: If this operation connects to a different API, disable Use Workspace Authentication and set your authentication headers manually on the Integrate tab
Preview returns errors but live requests work
The Preview/Test feature runs from Cevro’s servers and may behave differently from live requests in some cases:- IP restrictions: Preview requests may come from a different IP than live requests. Check your API’s firewall settings.
- Player-level authentication: Strategies that use per-player tokens (like Contact Bearer Token) cannot be tested in Preview because there’s no active player session. The Preview will show a clear error message explaining this.
Building Your API
If you’re building a custom API for Cevro to consume, see Connect Your Back-Office for endpoint patterns, authentication flows, and best practices.Related Documentation
- Dynamic Values — Reference for interpolation tags
- Connect Your Back-Office — API specification for custom integrations
- Player Authentication — How players verify their identity