curl --location --request POST 'https://snakk-backend-production.up.railway.app/api/workflows//assign' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2"
}'{
"agent": {
"id": "uuid",
"name": "My Agent",
"mode": "workflow",
"workflow_id": "uuid"
},
"workflow": {
"id": "uuid",
"name": "Customer Service Flow"
}
}