Integration Docs

Comprehensive guide and documentation to help you start working with smallcase Gateway

Get Started

Authentication

Every smallcase Gateway API request should include API secret & user auth token as request headers

Authentication

Every smallcase Gateway API request should include API secret as a request header. smallcase Gateway requires the value to be keyed as x-gateway-secret. It is evident in the API documentation.

User identification

There are certain APIs which requires user identification as a part of it. For example - Fetching historical orders of a user, and fetching stocks & ETF holdings of the user.

For correctly identifying the user (guest or connected), every smallcase Gateway API should include User's auth token as a request header. smallcase Gateway requires the value to be keyed as x-gateway-authtoken.

All requests MUST pass these custom HTTP headers containing API secret & Auth token:

x-gateway-secret: API_SECRET_KEY
x-gateway-authtoken: USER_AUTH_TOKEN

Updated 2 months ago


Next steps

All good, so far? Let's look into the API reference next -

Single stocks or basket APIs
smallcase APIs
Holdings Import APIs

Authentication


Every smallcase Gateway API request should include API secret & user auth token as request headers

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.