Base URL
All Struct API requests are made to:Authentication
Every request must include your API key in theX-API-Key header.
Making your first request
Create an account
Sign up at struct.to/dashboard and create an organisation.
Generate an API key
Open the API Keys page in your dashboard and create a new key. Copy the value somewhere safe; you won’t be able to view it again. See Authentication for key types, JWT public keys, and rotation.
Response format
Every response is wrapped in a standard envelope withsuccess, data, message, and an info block carrying the API version and credits_consumed. See Response Format.
Rate limits
Limits depend on your plan. See Rate Limits for the full matrix and Pricing for credit allowances.Errors
Failures return the same envelope withsuccess: false. For the full status-code reference and retry guidance, see Errors.