API Keys
Model
API Key Model
object "api_key"
The description of the model.
id string
The unique ID of the API key prefixed with key_
name string
A user-defined name for the API key.
last4 string
The last 4 characters of the API Key.
created_at integer
Time in epoch seconds when this resource was created.
updated_at integer
Time in epoch seconds when this resource was last updated.
expires_at integer
The timestamp when this API key will expire. If null, the key has no expiration date.
organization_id string
The unique identifier of the organization that owns this API key.
organization_name string
The name of the organization that owns this API key.
scopes Object
The scopes given to the API Key. Scopes are enumerated as an integer.
- write: 2
- read: 1
- null: 0
Show Object
updated_by string
The ID of the user or key who last updated the api key.
system_generated boolean
If this API key was created by a third party or PackageX.
limit_to_location string
A location to which this API key is scoped. This key will only be able to access resources to this location to which is has appropriate scopes.
api_key string
This property will only exist on the key when it's initially created and will show the full API Key. After this, anytime you retrieve the key, this property will not exist. If you lose your API Key, you'll need to create a new one as there is no way for PackageX to retrieve this key either.