Lelemon
  • Get started
  • Use cases
  • Guides
  • API basics
  • Webhooks
  • SDK, CLI and MCP
  • API reference
  • Changelog
  • v1 (legacy)
Authentication and scopesScope catalogIDs and objectsListsErrorsIdempotencyRate limitsVersioningError codes
powered by Zudoku
API basics

IDs and objects

Store ids whole and never parse them. The prefix tells you the type, so a wrong id fails fast: an agt_... id sent to a case route answers 404 not_found.

PrefixObject
org_Organization
sub_Subaccount
agt_Agent
agv_Agent version
atp_Agent template
act_Action
mcp_MCP server
mtl_MCP tool
skl_Skill
kbc_, kbd_Knowledge collection, document
ppl_, stg_, fld_, rr_Pipeline, stage, field, routing rule
dcn_, dct_Data connector, data connector tool
ctc_, cfd_Contact, contact field
cpy_Company
cse_Case
msg_Message
att_Attachment
fil_File
not_Note
mbr_Member
inv_Invitation
mae_Member audit log entry
wcn_WhatsApp connection
pn_Phone number
tpl_WhatsApp template
wam_WhatsApp message
dom_, eml_Email domain, email message
trg_Trigger
cdr_Trigger run
lfm_Lead form
lni_Linear connection
esc_Escalation of a case to the technical team
cev_Contact event
cmp_Campaign
whk_, whd_Webhook endpoint, delivery
evt_Event
key_API key
req_Request
trn_Turn
bgt_Budget
sup_Suppression (erasure record)
tem_Team
apr_Approval
dec_Automated decision
tqn_Team question
agd_Agenda
mtg_Meeting
rem_Case reminder
run_Run
sch_Scheduled task

Every object has object, id and createdAt, and updatedAt when it can change. Times are ISO 8601 in UTC. Slugs are filters, never part of a URL.

Scope catalogLists