Account Schema
This document describes the Account object schema returned by the globalMOO API.
Structure
{
"id": 123, // Unique identifier
"created_at": "2025-01-31T10:00:00.000Z", // Creation timestamp
"updated_at": "2025-01-31T10:00:00.000Z", // Last update timestamp
"disabled_at": null, // Optional disable timestamp
"company": "Example Inc.", // User's company
"name": "Example User", // User's full name
"email": "user@example.com", // User's email address
"apiKey": "api_key_12345", // API key for authentication
"timeZone": "America/New_York", // User's time zone
"customerId": "cust_12345" // External customer ID
}Fields
id
integer
Unique identifier for the account
createdAt
string (ISO 8601)
Timestamp when the account was created
updatedAt
string (ISO 8601)
Timestamp when the account was last updated
disabledAt
string (ISO 8601) or null
Timestamp when the account was disabled, null if active
company
string
User's company name
name
string
User's full name
email
string
User's email address
apiKey
string
API key for authentication
timeZone
string
User's preferred time zone
customerId
string
External customer ID reference
SDK Representations
JavaScript SDK
In the JavaScript SDK, the Account object uses snake_case naming for some fields, translating from the API's camelCase:
Python SDK
The Python SDK also uses snake_case naming and converts timestamps to datetime objects:
PHP SDK
The PHP SDK maintains camelCase naming to match the API and converts timestamps to DateTimeImmutable objects:
Examples
Active Account
Disabled Account
Related Endpoints
Last updated