Object IDs
Every public Socialit resource is identified by an object ID (OID): a sortable, URL-safe, prefixed string. Internal database identifiers are never exposed.
Format
Section titled “Format”An OID is a short type prefix followed by a base62, time-sortable identifier:
pst_2Xa9kQ1mB3cD4eF5gH6iJ7kL8mBecause the identifier portion encodes a timestamp, OIDs of the same type sort roughly in creation order.
Prefixes
Section titled “Prefixes”| Resource | Prefix | Example |
|---|---|---|
| Workspace | ws_ | ws_2Xa... |
| API key | key_ | key_2Xa... |
| Media | med_ | med_2Xa... |
| Post | pst_ | pst_2Xa... |
| Social account | sa_ | sa_2Xa... |
| Social posting | sp_ | sp_2Xa... |
Always pass and store the full OID, including its prefix. Use these values anywhere the API expects an id.