APIs built from fireapis will have two level authorizations.

  • Enviroment Authorization.

  • JWT Authorization.

Authorization code snippet
Environment Authorization

Every API calls will need to have header

to ensure environment level authorization

To know more about environment token, refer environment section .

JWT Authorization

This authorization is made by passing header

X-AUTH-ID:{{user_id}} and Authorization:Bearer {{access_token}}
.JWT Authorization is optional as of now

You can get

access_token and user_id
using Fireapis Auth APIsFireapis Auth APIsis a marketplace APIs that is internally built by fireapis to handle User Signup/Sign-in flows.

We recommend using both authorizations for all API calls.

Previous - Introduction