VoidhashDocs
DocumentationAPI reference
Dashboard
Essentials
API overview
Authentication
Endpoints
Analytics
Api_keys
Auth
Component_dev_sessions
Component_registry
Components
Development
Events
Experiments
Feature_flag_overrides
Feature_flag_targets
Feature_flags
Ingest_policy
Notification_sends
Notifications
Organizations
Payment_provider_configurations
Payment_provider_products
Paywall_locations
Paywalls
Perks
Persons
Products
Projects
Push_notification_configurations
Schema
Sdk
Users
Webhooks
Analytics
Event capture
Get Development Settings
Update Development Settings
Get Development State
Apply Development Lifecycle Action
Reset Development Data

Get Development State

GET
/api/v1/development/state

Query Parameters

personId*string
projectId?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/development/state?personId=string"
{  "developmentPurchasesEnabled": true,  "grants": [    {      "expiresAt": "string",      "id": "string",      "perkId": "string",      "status": 0    }  ],  "purchases": [    {      "createdAt": "string",      "id": "string",      "productId": "string",      "productName": "string",      "productSlug": "string",      "refundedAt": "string",      "revokedAt": "string"    }  ],  "subscriptions": [    {      "canceledAt": "string",      "expiresAt": "string",      "gracePeriodExpiresAt": "string",      "id": "string",      "productId": "string",      "productName": "string",      "productSlug": "string",      "startsAt": "string",      "status": 0    }  ]}
{  "_tag": "Api/SdkValidationError",  "message": "string"}
{  "_tag": "Api/AuthenticationError",  "cause": "string",  "message": "string"}
{  "_tag": "Api/ActionForbiddenError",  "message": "string"}
{  "_tag": "Api/DevelopmentEnvironmentRequiredError",  "message": "string"}
{  "_tag": "Api/DevelopmentModeServiceError",  "message": "string"}
PreviousUpdate Development SettingsNextApply Development Lifecycle Action