API Documentation
Authentication
All API requests require authentication using an API key. You can obtain your API key from your account settings.
Authorization: Bearer YOUR_API_KEY
Base URL
All API endpoints are relative to the base URL:
https://api.opxplatform.com/v1
API Simulator
Test our APIs directly from the documentation. Select an endpoint, add any required parameters, and see the response in real-time.
API Simulator
Test and explore our APIs in real-time
Select an endpoint and send a request to see the response
Workflows
List Workflows
Retrieve a list of all workflows in your organization.
GET /workflows
Response
{
"workflows": [
{
"id": "string",
"name": "string",
"description": "string",
"created_at": "string",
"updated_at": "string"
}
]
}
Create Workflow
Create a new workflow in your organization.
POST /workflows
Request Body
{
"name": "string",
"description": "string",
"steps": [
{
"name": "string",
"type": "string",
"config": {}
}
]
}
Tasks
List Tasks
Retrieve a list of all tasks.
GET /tasks
Query Parameters
status
- Filter by task statusassignee
- Filter by assigneepage
- Page number for pagination
Create Task
Create a new task.
POST /tasks
Request Body
{
"title": "string",
"description": "string",
"assignee_id": "string",
"due_date": "string",
"priority": "string"
}
Users
List Users
Retrieve a list of all users in your organization.
GET /users
Response
{
"users": [
{
"id": "string",
"name": "string",
"email": "string",
"role": "string",
"created_at": "string"
}
]
}
Create User
Create a new user in your organization.
POST /users
Request Body
{
"name": "string",
"email": "string",
"role": "string",
"password": "string"
}