GraphQL Types
The Postpone API uses several core GraphQL types to represent different entities in the system. Understanding these types is essential for effectively working with the API.
Core Types
UserType
The UserType
represents a user account in the Postpone system with their preferences, permissions, and associated data.
AccountType
The AccountType
represents a billing account with its plan, limits, and subscription information.
SocialAccountType
The SocialAccountType
represents a connected social media account with its configuration and capabilities.
MediaType
The MediaType
represents uploaded media files in the content library.
Submission Types
SocialSubmissionResultType
Represents the result of a successful post submission to a social platform.
SocialSubmissionErrorType
Represents an error that occurred during post submission.
Timestamps
All entities include standard timestamp fields:
dateCreated
- When the record was first createddateUpdated
- When the record was last modifieddateSubmitted
- When an action was performed (for submissions)
Relationships
Types are interconnected through relationships:
- Users belong to Accounts
- Users have multiple SocialAccounts
- Media can be used across multiple posts
- Submissions are linked to specific SocialAccounts
null
depending on the platform or account type. Always handle potential null values in your client code.