Overview
The Create Job API allows you to programmatically create new customer journey jobs in Agentix. This endpoint is the primary way to initiate automated workflows through the Agentix platform.How It Works
When you create a job through the API:- Workflow Assignment: Specify which workflow ID to execute
- Customer Data: Provide customer information (name, mobile, email, etc.)
- Job Configuration: Set expiration time, language, and metadata
- Input Parameters: Pass dynamic data to customize the workflow execution
Key Concepts
Workflow ID
Every job must be associated with a pre-configured workflow in your Agentix dashboard. The workflow defines the customer journey steps and automation logic.Expiration Time
Jobs have a validity period (validUntil) specified in seconds. After this time, the job becomes inaccessible to customers.
Customer Information
Provide customer details to personalize the experience and enable agent handoffs when needed.Dynamic Inputs
Use theinput array to pass variable data that workflows can utilize for personalization and decision-making.
Authentication
All API requests require authentication using your API key in thex-api-key header.
Getting your API Key: Contact your organization administrator to generate an Integration API key. Only administrators can create API keys.
Interactive Testing
Try the API Now
Test the Create Job endpoint with your own data and server URL in our interactive API playground.
Request Structure
Response Structure
Error Responses
| Status Code | Description |
|---|---|
| 400 | Bad request - Invalid request format or missing required fields |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Workflow not found - The specified workflow ID doesnβt exist |
| 429 | Rate limit exceeded - Too many requests |
Next Steps
- Get Your API Key: Contact your administrator to obtain API credentials
- Test the Endpoint: Use the interactive playground in the API Reference section
- Integrate: Add the API calls to your application workflow
- Monitor: Track job creation and customer engagement through the Agentix dashboard

