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
1
Create an account
Sign up at struct.to/dashboard and create an organisation.
2
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.
3
Send a request
Use the base URL and your API key to make your first call:
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.