Link copied to clipboard!
Mobile navigation button - closed state

Concepts

Concepts shared across Cord SDK


Identifiers

In many places, Cord SDK expects some form of an ID. Examples include:

  • managing users and orgs using Cord’s REST API
  • thread-id required by the Thread component

Most strings are usable as an ID. In particular, a valid ID is a string that:

  • has at least 1 character
  • has no more than 320 Unicode characters
  • does not have any characters from Unicode’s “Other” category (control characters, private use characters and unassigned code points)
  • does not start with cord: (that prefix is reserved for Cord’s internal use)

Examples of valid IDs are UUIDs, email addresses, JSON-stringified objects, and numbers that you convert to strings.