Start an ephemeral demo session (no signup).
const url = 'https://api.emite.cr/v1/demo/start';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.emite.cr/v1/demo/startPublic entry point of the «Probar demo» button. Creates a throwaway demo company with its owner and sample data (contacts, catalog items, a few accepted invoices), pinned to sandbox and on the top self-service plan of its ladder (Puma), and returns a session token scoped to it — also sent in the X-Session-Token header, which the web BFF turns into its session cookie. The company expires at expiresAt (2 hours by default) and is then deleted with all its data. A demo never reaches Hacienda — its documents are signed with a throwaway certificate and their acceptance is simulated — and no email or WhatsApp message leaves it. 429 DEMO_RATE_LIMITED past 3 starts in an hour from the same client IP; 503 DEMO_AT_CAPACITY while 200 demos are active (both limits are defaults).
Responses
Section titled “Responses”object
Session token (JWT) scoped to the new demo company, to send as Authorization: Bearer <token>. The same token travels in the X-Session-Token header.
Always Bearer.
Remaining life of this JWT, with an explicit unit. Never longer than the demo itself (expiresAt) nor than the platform session cap (SESSION_MAX_AGE).
When the demo company expires and is deleted with all its data (2 hours after it starts, by default). The token never outlives it.
Id of the created demo company.
Example
{ "tokenType": "Bearer", "expiresIn": "7200s", "expiresAt": "2026-06-15T12:00:00.000Z"}