Skip to content
Back to skills

Front Id Converter

ASecurity

Convert between Front URL IDs (base-10) and API IDs (base-36 with prefix). Use when working with Front inbox, conversation, or message IDs.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
toolstypescriptbashnodeapi

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill front-id-converter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Front Id Converter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Front Id Converter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-front-id-converter/badge)](https://www.skillsdirectory.com/skills/majiayu000-front-id-converter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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

| 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

```typescript
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

```typescript
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

```bash
# 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.