Skip to main content
Ionic uses prefixed, typed IDs. The prefix tells you what kind of object you are holding, and domain validation rejects IDs used in the wrong place.

Format

Low-volume objects generally use 14 base62 characters after the prefix. High-volume or security-sensitive objects generally use 24.

Common prefixes

Guidance

  • Treat IDs as opaque strings.
  • Store the full ID, including prefix.
  • Do not infer business meaning from suffix length.
  • Validate IDs in your own tests when wiring resources together.