# Authorization **POST /token** API to authorization and get new access token using refresh token using application credentials and authorization code Access Token & Refresh Token: To get access token and refresh token pass grant_type as authorization_code Get New Access Token: Then access token issues in above step will expire after 1 hour. To get new access token use refresh_token which is issued in above step and grant_type as refresh_token. Note: code is required when grant_type is authorization_code and refresh_token is required when grant_type is refresh_token ## Servers - https://api-console.logezy.co/v1: https://api-console.logezy.co/v1 () ## Parameters ### Headers - **Accept** (string) ### Body: application/json (object) Post the necessary fields for the API to create a new user. - **application_id** (string) - **client_id** (string) - **client_secret** (string) - **grant_type** (string) - **code** (string) ## Responses ### 200 OK #### Body: application/json (object) - **application_id** (string) - **client_id** (string) - **access_token** (string) - **refresh_token** (string) - **token_type** (string) - **ttl** (integer) ### 400 Missing Required Information ### 409 Email Already Taken [Powered by Bump.sh](https://bump.sh)