Reten Docs

Task Integration API

Connect your system with Reten to query task-type activities, submit results, and receive activities.

The Reten task integration API allows tenant developers to query assigned task-type activities, submit results, and receive activities in real time. This section covers exclusively the integration for TASK type activities. There are two integration modes depending on the data flow direction.

Integration for MESSAGE type activities will be available soon in a separate section.

This documentation is intended for tenant developers who integrate their systems with Reten using a provider available on the platform (e.g., YOM). If you need to onboard a new provider to the platform, contact the Reten team.

Integration modes

ModeDirectionDescriptionUse case
PullYour system → RetenYour system queries activities and submits results via the REST APIAsynchronous integration, batch processing, systems that prefer to control the polling rate
Push (Dispatch)Reten → ProviderReten sends activities to the provider's endpoint in real timeReal-time integration, systems that need to receive activities immediately upon creation

Quick authentication

All integration API requests require an API key:

x-api-key: YOUR_API_KEY

The API key authenticates your integration, defines the available permissions, and automatically resolves the associated tenant. There is no need to send the x-tenant-id header. See Authentication for details.

Environments

Reten Environments

EnvironmentAdmin PanelAPI Base URL
Developmentapp-development.reten.aihttps://api-development.reten.ai
Stagingapp-staging.reten.aihttps://api-staging.reten.ai
Productionapp.reten.aihttps://api.reten.ai

Use the admin panel URL to manage API keys and dispatch configurations. Replace BASE_URL in code examples with the API base URL for your environment.

Getting started

Available endpoints

MethodPathDescription
GET/api/integration/activities/tasksList task-type activities visible to your API key
POST/api/integration/activity-results/tasksSubmit the result of a task-type activity
GET/api/integration/task-result-type-configsList available result type configurations