API Reference
API Reference
Complete REST API documentation
API Reference
The Workflows API is a RESTful API that uses JSON for request and response bodies.
Base URL
https://api.justpaid.io/api/v1Authentication
All requests require an API key in the x-api-key header:
curl -H "x-api-key: wfk_your_api_key" https://api.justpaid.io/api/v1/workflowsEndpoints
Workflows
Create, read, update, delete workflows
Runs
Execute and monitor workflow runs
Agents
AI-powered agents for data extraction and content
Connections
Manage integration connections
Webhooks
Webhook endpoints and events
Response Format
All responses follow this format:
{
"success": true,
"data": { }
}Error responses:
{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid workflow configuration"
}
}HTTP Status Codes
| Code | Description |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 429 | Rate Limited |
| 500 | Server Error |