Back to list
skillrecordings

front-id-converter

by skillrecordings

🤖 an AI agent for the support desk at Badass Courses

0🍴 0📅 Jan 25, 2026

SKILL.md


name: front-id-converter description: Convert between Front URL IDs (base-10) and API IDs (base-36 with prefix). Use when working with Front inbox, conversation, or message IDs. allowed-tools: Bash

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:

  1. Converting the numeric URL ID (base-10) to base-36
  2. Adding a resource prefix

Resource Prefixes

PrefixResource
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 7256583 → inb_4bj7r
urlToApiId(7256583, 'inb_') // => "inb_4bj7r"

API ID to URL

function apiIdToUrl(apiId: string): number {
  const base36 = apiId.split('_')[1]
  return parseInt(base36, 36)
}

// Example: inb_4bj7r → 7256583
apiIdToUrl('inb_4bj7r') // => 7256583

Quick Bash Conversion

# URL ID to API ID (requires node)
node -e "console.log('inb_' + (7256583).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/7256583/unassigned/120537545061

  • Inbox ID: 7256583inb_4bj7r
  • Conversation ID: 120537545061cnv_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.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon