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.

Response

200 - application/json

Successful response

Response containing workflow details.