Choose where your code will run. External integrations call the public REST API from your infrastructure. Developer apps run in campai and use its app editor, runtime, and access settings.
What you’ll have at the end
A clear choice between code hosted by you and an app running inside campai.
- Your task
- Choose runtime
- Choose access
- Follow a tutorial
Before you start
- The task you want to build
- A decision about where the code will run
On this page
Start with Make your first API request. It covers the production API URL, creating a scoped key, and complete requests in cURL, Node.js, and PHP.
Then find your organization and mandate IDs and check permissions before adding a business workflow. The initial key-info request is read-only and returns the key's organization and scopes.
Keep your key on your server. A public website or WordPress page calls your backend; it does not receive the campai key.
Follow Create your first developer app, then Use the built-in app objects to learn api, storage, widget actions, and browser preferences. Choose a group for a form, widget, schedule, or record-change handler. An app's server permissions and its client audience are separate settings.
Simulate saved code before publishing. Simulation can execute real API writes, so use synthetic input and inspect the code's effects first.
Start with Volunteer Companion to build a phone screen that greets the signed-in user, lets them choose an eligible linked member, and saves completed work for coordinator review. The guide includes separate member and administrator projects and a complete downloadable app.
The same verified-contact pattern powers equipment borrowing, personal welcome checklists, and the member service desk. Each guide includes the phone workflow, a coordinator response, persistent state, and checks for accounts with several linked contacts.
Use the API reference for exact methods, paths, parameters, response shapes, and permission requirements. The guides directory groups complete workflows into external API integrations and developer apps.
Read Understand money, dates, and data types before mapping records: money uses integer minor units, and date-only values must retain their calendar day. Use Handling user filters for property-filter syntax and Upload and attach files for the signed upload flow. Track API contract changes explains why the target environment's contract matters.
Check your result
- Website or background worker
- Follow the external API path.
- Form or widget inside campai
- Follow the developer app path.
- API key in browser
- Move the request and credential to a server.