Skip to content

Config

Funnels and tags configured for the organization.

Get config funnels

GET/v1/config/funnels/
config:read
Response fields (200)
FieldTypeNotes
datarequiredobject[]—
data[].idstringread-only
data[].namestringread-only
data[].stagesobject[]read-only
data[].stages[].idstringread-only
data[].stages[].namestringread-only
data[].stages[].orderintegerread-only
next_cursorrequiredstring | null—

Responses

  • 200Success
  • 400The request is invalid.
  • 401Authentication is missing, invalid, or revoked.
  • 403The authenticated identity lacks the required scope or capability.
  • 404The resource is unavailable or not visible to this organization.
  • 429The request-rate budget is exhausted.

Example request

curl
curl -X GET "https://api.themochi.app/v1/config/funnels/" \
  -H "Authorization: Bearer $MOCHI_API_KEY"

Get config tags

GET/v1/config/tags/
config:read
Response fields (200)
FieldTypeNotes
datarequiredobject[]—
data[].ai_promptstringread-only
data[].categorystringread-only
data[].idstringread-only
data[].is_aibooleanread-only
data[].namestringread-only
next_cursorrequiredstring | null—

Responses

  • 200Success
  • 400The request is invalid.
  • 401Authentication is missing, invalid, or revoked.
  • 403The authenticated identity lacks the required scope or capability.
  • 404The resource is unavailable or not visible to this organization.
  • 429The request-rate budget is exhausted.

Example request

curl
curl -X GET "https://api.themochi.app/v1/config/tags/" \
  -H "Authorization: Bearer $MOCHI_API_KEY"