front-id-converter
Front ID Converter Skill
Convert between Front URL IDs (base-10) and API IDs (base-36 with prefix).
Conversion Rules
Front API IDs are created by:
- Converting the numeric URL ID (base-10) to base-36
- Adding a resource prefix
Resource Prefixes
| Prefix | Resource |
|---|---|
inb_ |
Inboxes |
cnv_ |
Conversations |
tag_ |
Tags |
msg_ |
Messages |
tea_ |
Teammates |
rul_ |
Rules |
cmt_ |
Comments |
alt_ |
Attachments |
cha_ |
Channels |
ctc_ |
Contacts |
grp_ |
Contact Groups |
shf_ |
Shifts |
sig_ |
Signatures |
tmr_ |
Message Template Folders |
tmp_ |
Message Templates |
URL to API ID
function urlToApiId(urlId: number, prefix: string): string {
return `${prefix}${urlId.toString(36)}`
}
// Example: Inbox [PHONE] → inb_4bj7r
urlToApiId([PHONE], 'inb_') // => "inb_4bj7r"
API ID to URL
function apiIdToUrl(apiId: string): number {
const base36 = apiId.split('_')[1]
return parseInt(base36, 36)
}
// Example: inb_4bj7r → [PHONE]
apiIdToUrl('inb_4bj7r') // => [PHONE]
Quick Bash Conversion
# URL ID to API ID (requires node)
node -e "console.log('inb_' + ([PHONE]).toString(36))"
# API ID to URL ID
node -e "console.log(parseInt('4bj7r', 36))"
Common Use Cases
From Front URL
Given: https://app.frontapp.com/inboxes/teams/folders/[PHONE]/unassigned/[PHONE]
- Inbox ID:
[PHONE]→inb_4bj7r - Conversation ID:
[PHONE]→cnv_1z2x3y4z(calculate as needed)
Validating API Responses
When Front API returns an ID like inb_4bj7r, you can verify it matches the expected inbox by converting back to the URL ID.
More from skillrecordings/support
vercel-cli
Deploy and manage Vercel projects via CLI. Use when deploying apps, managing environment variables, configuring domains, or pushing secrets to Vercel. Triggers on deploy, vercel, env vars, production.
4lesson-content-question
Answer lesson-specific content questions. Use when a customer asks about a lesson, code example, or concept in a course.
2vector-search
Implement vector search for knowledge retrieval. Use when adding RAG, semantic search, knowledge base features, or context building for the agent.
2email-change
Transfer licenses to a new email address. Use when a customer wants to change account email, move a license, or update access after a job change.
2course-builder-incident-forensics
Diagnose production incidents for any course-builder app (ai-hero, epic-web, etc.) across Axiom, Vercel logs, source code, and DB preconditions. Use this whenever a course-builder app has 4xx/5xx spikes, `/api/inngest` failures, shortlink/post-linking failures, or someone asks "what account/deploy/path is failing right now?
2pricing-inquiry
Answer pricing questions for courses. Use when a customer asks about current price, pricing model, or availability.
2