API Documentation
Hooks
Copilotz
Edit by Id
PUT
/
rest
/
copilotz
/
{id}
Copy
curl --request PUT \
--url https://copilotz.com/rest/copilotz/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Your Copilotz Name",
"description": "Your Copilotz Description",
"backstory": "This is a simple backstory for your Copilotz. It'\''s useful for defining its identity.",
"actions": [
1,
2,
3
],
"configs": [
1,
2
],
"job": 1
}'
Copy
{
"name": "Your Copilotz Name",
"description": "Your Copilotz Description",
"backstory": "This is a simple backstory for your Copilotz. It's useful for defining its identity.",
"actions": [
1,
2,
3
],
"configs": [
1,
2
],
"job": 1
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Request payload for creating or updating a Copilotz agent.
Response
200 - application/json
Successful response
Response containing Copilotz agent details.
Copy
curl --request PUT \
--url https://copilotz.com/rest/copilotz/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Your Copilotz Name",
"description": "Your Copilotz Description",
"backstory": "This is a simple backstory for your Copilotz. It'\''s useful for defining its identity.",
"actions": [
1,
2,
3
],
"configs": [
1,
2
],
"job": 1
}'
Copy
{
"name": "Your Copilotz Name",
"description": "Your Copilotz Description",
"backstory": "This is a simple backstory for your Copilotz. It's useful for defining its identity.",
"actions": [
1,
2,
3
],
"configs": [
1,
2
],
"job": 1
}
Assistant
Responses are generated using AI and may contain mistakes.