Skip to main content

AppTokens Model

Overview

The apptokens table is used to store authentication tokens related to applications. These tokens can be used for API authentication, session management, or secure communication between applications.

Fields

FieldTypeDescriptionRequired
idstringPrimary Key – Unique identifier for each token (UUID).
labelstringA descriptive label or name for the token (e.g., "API Token for App X").
jwtstringThe JSON Web Token (JWT) string that is used for authenticating and authorizing requests.
created_atdateTimestamp indicating when the token was created.
modified_atdateTimestamp indicating when the token was last modified.
expirationDatedateThe date and time when the token will expire, after which it will no longer be valid.
sites_idstringThe site associated with this token (likely referencing a sites table).
app_idstringThe application that owns this token (likely referencing an apps table).
org_idstringThe organization that this token belongs to (likely referencing an organizations table).
application_idstringAnother reference to an application, possibly linked to the applications table.

Sample JSON

{
"id": "example_value",
"label": "example_value",
"jwt": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"expirationDate": "example_value",
"sites_id": "example_value",
"app_id": "example_value",
"org_id": "example_value",
"application_id": "example_value"
}