Is User Id unique and always 20 character length?

The following is an example response for “Get User with ID”.

Can I assume that “id” is unique and always 20 characters?

{
  "id": "00ub0oNGTSWTBKOLGLNR",
  "status": "ACTIVE",
  "created": "2013-06-24T16:39:18.000Z",
  "activated": "2013-06-24T16:39:19.000Z",
  "statusChanged": "2013-06-24T16:39:19.000Z",
  "lastLogin": "2013-06-24T17:39:19.000Z",
  "lastUpdated": "2013-07-02T21:36:25.344Z",
  "passwordChanged": "2013-07-02T21:36:25.344Z",
  "profile": {
    "firstName": "Isaac",
    "lastName": "Brock",
    "email": "isaac.brock@example.com",
    "login": "isaac.brock@example.com",
    "mobilePhone": "555-415-1337"
  },

It is unique, we do not document the format of the ID, and should be treated as opaque.

If I make the assumption that you are trying to model out of db column to store the id, I would not do something like char(20). I would give it a little more flexibility in case Okta changes the ID format.

Hi Tom. Thank you for the update.

That is pretty much what I am doing and I know the risk. How likely will Okta change ID format?

Regards.

Brian.