Skip to main content
POST
/
api
/
public
/
v1
/
funnels
Create a new funnel
curl --request POST \
  --url https://app.tagadapay.com/api/public/v1/funnels \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "storeId": "store_123",
  "config": {
    "id": "my-funnel",
    "name": "My Funnel",
    "version": "1.0.0",
    "steps": [
      {
        "id": "step_1",
        "name": "Checkout",
        "type": "checkout",
        "index": 1,
        "isEntry": true,
        "config": {
          "path": "/checkout"
        },
        "conditions": {
          "entry": true
        }
      }
    ]
  },
  "isDefault": true
}
'
{
  "id": "funnelv2_123",
  "name": "My Funnel",
  "storeId": "store_123",
  "active": true
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
storeId
string
required
config
object
required
isDefault
boolean

Response

Successful response