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
  • Task Comments
    • Get comments for a task
  • Project Subtasks
    • Get all subtasks for a project task
  • Personal Subtasks
    • Get all subtasks for a personal task
  • Tasks Checklist
    • Get all checklists for a subtask
    • Get all checklists for a parent task
  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

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

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://auth.astravue.com/realms/astravue/protocol/openid-connect/token' \
--header 'Authorization: Bearer <token>' \
--data-urlencode 'grant_type=refresh_token' \
--data-urlencode 'refresh_token=' \
--data-urlencode 'client_id=0af38760-95d2-47a0-a610-eea75cc12d32' \
--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"
}
Previous
Get Access and Refresh Token
Next
Get task by ID
Built with