Astravue API
  1. Auth
Astravue API
  • Welcome to the Astravue API
  • Auth
    • Get Access and Refresh Token
      POST
    • Refresh Access Token
      POST
  • Personal Tasks
    • Get task by ID
      GET
    • Update a task
      PUT
    • Delete a task
      DELETE
    • Get all tasks
      GET
    • Create a task
      POST
  • Spaces
    • Get space by ID
      GET
    • Update a space
      PUT
    • Delete a space
      DELETE
    • Get all spaces
      GET
    • Create a new space
      POST
  • Projects
    • Get project details by ID
      GET
    • Update a project
      PUT
    • Delete a project
      DELETE
    • Get all projects in a space
      GET
    • Create a new project
      POST
  • Project Tasks
    • Get a project task by ID
      GET
    • Update a project task
      PUT
    • Delete a project task
      DELETE
    • Get all tasks in a project
      GET
    • Create a project task
      POST
  • Task Timer
    • Get timers for a user in a task
      GET
    • Get active timers for a user
      GET
    • Update a timer
      PUT
    • Stop timer for a task
      PUT
    • Delete a timer entry
      DELETE
    • Start timer for a personal task
      POST
    • Add a time range entry for a personal task
      POST
    • Add manual time entry for a personal task
      POST
    • Start timer for a project task
      POST
    • Add range timer for a project task
      POST
    • Add manual time entry for a project task
      POST
  • Notifications and Mentions
    • Get all notifications and mentions
    • Mark notification/mentions as read
    • Delete multiple notifications
  1. Auth

Refresh Access Token

POST
https://auth.astravue.com/realms/astravue/protocol/openid-connect/token
Endpoint which enables to refresh the access token when it gets expired
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://auth.astravue.com/realms/astravue/protocol/openid-connect/token' \
--data-urlencode 'grant_type=refresh_token' \
--data-urlencode 'refresh_token=' \
--data-urlencode 'client_id=2ce06362-bc6d-40bb-a094-581d6ceffd27' \
--data-urlencode 'client_secret='
Response Response Example
{
    "access_token": "string",
    "expires_in": 0,
    "refresh_expires_in": 0,
    "refresh_token": "string",
    "token_type": "string",
    "not-before-policy": 0,
    "session_state": "string",
    "scope": "string"
}

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Body Params application/x-www-form-urlencoded

Responses

🟢200OK
application/json
Body

Previous
Get Access and Refresh Token
Next
Get task by ID
Built with