cURL
curl --request PUT \ --url https://copilotz.com/rest/jobs/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "role": "Copilotz Developer", "goal": "Assist users with technical inquiries.", "description": "Handles all technical support tasks and user queries.", "actions": [ 1, 2 ], "defaultWorkflow": 1 }'
{ "role": "Copilotz Developer", "goal": "Assist users with technical inquiries.", "description": "Handles all technical support tasks and user queries.", "actions": [ 1, 2 ], "defaultWorkflow": 1 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request payload for creating or updating a job.
Successful response
Response containing job details.