API keys
Create an API key (admin, interactive session only)
Mints a new portal API key with scope read or write. The api_key secret (lac_sk_...) is returned once and never again — store it securely. Requires an interactive admin session; API-key bearers receive 403.
post/api-keys
Request
- Base URLhttps://api.app.lastaccountingcompany.com/portal
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Key created. The secret is returned only in this response.
Changes
No recorded changes to this operation across all 1 revision of this API.