Funnels
Retrieve all funnels in a workspace.
All funnels in a workspace.
The funnel's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's name.
My FunnelThe funnel's automation ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's metadata.
{"prompt":"This is a prompt"}Timestamp of when the funnel was created.
2025-01-01T00:00:00.000ZTimestamp of when the funnel was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The user does not have permission to perform this operation.
GET /api/v1/funnels HTTP/1.1
Accept: */*
[
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "My Funnel",
"automation_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"metadata": {
"prompt": "This is a prompt"
},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}
]Retrieve a funnel by its ID.
The funnel's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cA funnel.
The funnel's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's name.
My FunnelThe funnel's automation ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's metadata.
{"prompt":"This is a prompt"}Timestamp of when the funnel was created.
2025-01-01T00:00:00.000ZTimestamp of when the funnel was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The user does not have permission to perform this operation.
GET /api/v1/funnels/{funnelId} HTTP/1.1
Accept: */*
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "My Funnel",
"automation_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"metadata": {
"prompt": "This is a prompt"
},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Create a new funnel.
The funnel's name.
My FunnelThe prompt used to generate the funnel.
This is a promptThe funnel's theme.
BOLD_AND_FUTURISTICThe funnel that was created.
The funnel's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's name.
My FunnelThe funnel's automation ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's metadata.
{"prompt":"This is a prompt"}Timestamp of when the funnel was created.
2025-01-01T00:00:00.000ZTimestamp of when the funnel was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The user does not have permission to perform this operation.
POST /api/v1/funnels HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"name": "My Funnel",
"prompt": "This is a prompt",
"theme": "BOLD_AND_FUTURISTIC"
}{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "My Funnel",
"automation_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"metadata": {
"prompt": "This is a prompt"
},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Update a funnel by its ID.
The funnel's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's name.
My FunnelA funnel.
The funnel's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's name.
My FunnelThe funnel's automation ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's metadata.
{"prompt":"This is a prompt"}Timestamp of when the funnel was created.
2025-01-01T00:00:00.000ZTimestamp of when the funnel was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The user does not have permission to perform this operation.
PATCH /api/v1/funnels/{funnelId} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"name": "My Funnel"
}{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "My Funnel",
"automation_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"metadata": {
"prompt": "This is a prompt"
},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Delete a funnel.
The funnel's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel that was deleted.
The funnel's ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's name.
My FunnelThe funnel's automation ID.
981ba079-62a6-442c-8dfb-a72af6e96b8cThe funnel's metadata.
{"prompt":"This is a prompt"}Timestamp of when the funnel was created.
2025-01-01T00:00:00.000ZTimestamp of when the funnel was last updated.
2025-01-01T00:00:00.000ZThe user is not authenticated.
The user does not have permission to perform this operation.
DELETE /api/v1/funnels/{funnelId} HTTP/1.1
Accept: */*
{
"id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"name": "My Funnel",
"automation_id": "981ba079-62a6-442c-8dfb-a72af6e96b8c",
"metadata": {
"prompt": "This is a prompt"
},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Last updated