v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Authorization

Get Access Token

CoreStack requires Auth token to be passed in all the API headers. Auth token has to be generated and it is valid only for an hour. New token can be generated using this API. Extract Auth-token, Tenant Id & Account Id from the response. This will be required in most of the API calls

post/v1/auth/tokens

Request body

access_keystring

API Access Key. This can be retrieved from the <b>My Profile</b> page. Also this will be sent over email when the keys are generated.Please enter username and password pair or access_key and secret_key pair

secret_keystring

API Secret Key. This will be available in the email sent when the keys are generated. If you have lost the secret key, it cannot be retrieved. Request your admin to generate a new set of keys, if lost.Please enter username and password pair or access_key and secret_key pair

usernamestring

User name which will be used to login to corestack.Please enter username and password pair or access_key and secret_key pair

passwordstring

Password which will be used to login to corestack.Please enter username and password pair or access_key and secret_key pair

Response

Created

header_logostring required

Header logo.

banner_logostring required

Banner logo.

account_idstring required

Id of the Account in CoreStack. There can be multiple tenats within an account, so account_id will be required for performing account level actions such as createTenant.

is_account_adminboolean required

Implies the user associated with Access Key / Secret Key is an account admin in CoreStack. True means account admin.

user_guide_urlstring

User Guide URL

support_urlstring

Support URL

terms_and_conditions_urlstring

Terms and Conditions URL

Example response

{
  "user": {
    "preferred_language": "en"
  }
}