Skip to content

DropInServerOptions

apiKey: string;

Public. Sent as X-Api-Key so the gateway can resolve the tenant.


apiSecret: string;

Never leaves your server.


tenantId: string;

Your tenant id, e.g. “acme”. Signed as the token’s aud claim and verified on every request.


optional timeoutMs?: number;

Upper bound for every request this SDK makes, in ms. Default 10_000. A hung feed API must never stall YOUR request path (a Cloud Functions callable awaiting this SDK would otherwise ride to the platform’s own timeout). Passing signal in RequestOptions replaces this bound entirely.


optional url?: string;

Base URL of the dropin API. Defaults to https://api.getnodex.cloud; set it to point at staging, a proxy, or a local server — e.g. http://localhost:3000. No trailing slash.