create coworker schedule
POST
https://api.wexa.ai/schedule/coworker
Last modified:2025-04-25 12:31:59
Schedule an AI Coworker Task
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.wexa.ai/schedule/coworker?projectID=67fdea40aac77be632954f13' \
--header 'x-api-key: {{x-api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{"coworker_id":"68067c49c517ff5238533ccf","goal":{"template":"say about abdul kalam","display_template":"[{\"type\":\"paragraph\",\"children\":[{\"text\":\"say about abdul kalam\"}]}]"},"schedule":1745322000.0
}'
Response Response Example
{
"conclusion": null,
"count": 0,
"coworker_id": "68067c49c517ff5238533ccf",
"created_at": 1745303421.154476,
"created_by": "67fdea40aac77be632954f0e",
"frequency": null,
"goal": {
"display_template": "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"say about abdul kalam\"}]}]",
"template": "say about abdul kalam"
},
"_id": "6807377dff5c4953f01709bc",
"last_coworker_execution_id": null,
"last_record_id": null,
"limit": null,
"projectID": "67fdea40aac77be632954f13",
"schedule": 1745322000,
"status": "active",
"table": null,
"type": "once",
"updated_at": null,
"task_id": "6807377cff5c4953f01709ba"
}
Request
Query Params
projectID
string
required
Example:
67fdea40aac77be632954f13
Header Params
x-api-key
string
required
Example:
{{x-api-key}}
Body Params application/json
Responses
Modified at 2025-04-25 12:31:59