PUT
/
rest
/
workflows
/
{id}
curl --request PUT \
  --url https://copilotz.com/rest/workflows/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Create Instagram Post Ideas from Long-format content",
  "description": "Register a new user for Pássaro Marron.",
  "instructions": "You'\''ll be provided with transcriptions of long-format content, and provide Instagram Post Ideas while interacting directly with the content producers themselves.",
  "steps": []
}'
{
  "name": "Create Instagram Post Ideas from Long-format content",
  "description": "Register a new user for Pássaro Marron.",
  "instructions": "You'll be provided with transcriptions of long-format content, and provide Instagram Post Ideas while interacting directly with the content producers themselves.",
  "steps": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Body

application/json

Request payload for creating or updating a workflow.

name
string
required

Name of the workflow.

Example:

"Create Instagram Post Ideas from Long-format content"

description
string
required

Detailed description of the workflow.

Example:

"Register a new user for Pássaro Marron."

instructions
string
required

Instructions for the Copilotz to follow in this workflow.

Example:

"You'll be provided with transcriptions of long-format content, and provide Instagram Post Ideas while interacting directly with the content producers themselves."

steps
integer[]

List of step IDs included in the workflow.

Example:
[]

Response

200 - application/json
Successful response

Response containing workflow details.

name
string
required

Name of the workflow.

Example:

"Create Instagram Post Ideas from Long-format content"

description
string
required

Detailed description of the workflow.

Example:

"Register a new user for Pássaro Marron."

instructions
string
required

Instructions for the Copilotz to follow in this workflow.

Example:

"You'll be provided with transcriptions of long-format content, and provide Instagram Post Ideas while interacting directly with the content producers themselves."

steps
integer[]

List of step IDs included in the workflow.

Example:
[]