API keys for backends and workflows
Authorize a server-side integration to call published workflows and storage APIs without exposing service credentials to application users.
Step-by-step guidance.
Before you start
- Permission to manage API keys and the target workflow’s group access.
- A saved workflow and its actual endpoint and input contract.
- A server-side caller or integration that can store credentials securely.
Choose the correct credential
| Credential | Purpose |
|---|---|
| Rumata API key | Authenticate an integration to Rumata resources, subject to the key’s group permissions and validity. |
| Third-party secret | Authenticate an outgoing call to a provider such as Slack or Stripe. It does not grant permission to invoke a Rumata workflow. |
| Application-user authentication | Identify the person using your app. A shared integration key is not a replacement for per-user authorization. |
A private workflow needs an authorized caller. Creating an API key does not automatically grant access to every workflow or make a workflow public.
Create and authorize an API key
- Open System Explorer → Keys & secrets → API keys and select Create API key.
- Choose a descriptive name and an expiration appropriate to the integration. Review the settings before selecting Create and save credential.
- Use the saved credential through its supported secret reference or credential configuration. Do not paste it into an AI conversation or commit it to source control.
- Review the key’s Groups and the target workflow’s Manage access settings. Grant the integration’s group the permission needed to invoke that workflow.
- Confirm that the workflow and key belong to the intended project and factory, and that the key is active.
Default factory keys join the factory API-key group with the supported storage and factory-workflow grants. Published private workflows can use that default-key access; a custom group needs its own Execute and Deep read grants. The key does not publish a draft, override a revoked grant or authorize unrelated resources. Review the actual group and published version.
Call the intended workflow
- Open the workflow’s More actions → API & schemas and copy the actual endpoint. Read its method, input schema, and published version.
- Configure the server-side caller with that endpoint and the API-key authentication required by the endpoint’s current API instructions. Use the documented header and format; do not place the key in a URL or infer a header from an unrelated provider.
- Send harmless input that matches the workflow schema. Test against a destination that will not send real notifications or modify important records.
- Inspect both the HTTP response and the corresponding workflow run. For asynchronous execution, follow the run status until it completes or fails.
- Verify that a request without the credential or without the required group access is rejected when the workflow should be private.
Use a key from a storage backend
A backend can bind its service key to call the direct project-storage API for signing, listing and deletion. It must derive each permitted path from the verified app user and enforce ownership before issuing a signed URL. Never send the service key to the browser. See File storage contracts.
Troubleshoot and rotate credentials
| Symptom | Check |
|---|---|
| Authentication or permission failure | The credential format, Active status, expiration, project/factory, key groups, and workflow access. |
| Route or method failure | The exact published endpoint and method from API & schemas. |
| Input validation failure | The request content type and body against the workflow schema. |
| Request accepted but no expected result | The run’s final status, step errors, and downstream integration credentials. |
Expiry is checked on every request. Expired and revoked keys remain listed for reference but cannot authorize new requests. To rotate a key, configure and test its replacement in every dependent caller before revoking the old key. Avoid blindly retrying a request that may already have caused a side effect.