Api
Takes a set of user credentials and returns an access and refresh JSON web token pair to prove the authentication of those credentials.
'Enter your access token with Bearer prefix, e.g., "Bearer YOUR_API_KEY"'
POST /api/auth/jwt/ HTTP/1.1
Host: app.timbr.studio
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"username": "text",
"password": "text"
}{
"username": "text",
"password": "text"
}Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.
'Enter your access token with Bearer prefix, e.g., "Bearer YOUR_API_KEY"'
POST /api/auth/jwt/refresh/ HTTP/1.1
Host: app.timbr.studio
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"refresh": "text"
}{
"refresh": "text",
"access": "text"
}Takes a token and indicates if it is valid. This view provides no information about a token's fitness for a particular use.
'Enter your access token with Bearer prefix, e.g., "Bearer YOUR_API_KEY"'
POST /api/auth/jwt/verify/ HTTP/1.1
Host: app.timbr.studio
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"token": "text"
}{
"token": "text"
}List all API tokens for the authenticated user
'Enter your access token with Bearer prefix, e.g., "Bearer YOUR_API_KEY"'
Invalid request
Permission denied
Server error
GET /api/openapi/token/{team_uuid}/ HTTP/1.1
Host: app.timbr.studio
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"tokens": [
{
"access_token": "text",
"token_issuer_uuid": "text",
"created_at": "text",
"updated_at": "text",
"expires_at": "text"
}
]
}Issue a new API token
'Enter your access token with Bearer prefix, e.g., "Bearer YOUR_API_KEY"'
Invalid request
Permission denied
Server error
POST /api/openapi/token/{team_uuid}/ HTTP/1.1
Host: app.timbr.studio
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"access_token": "text",
"token_issuer_uuid": "text",
"created_at": "text",
"updated_at": "text",
"expires_at": "text"
}Delete API tokens
'Enter your access token with Bearer prefix, e.g., "Bearer YOUR_API_KEY"'
Invalid request
Permission denied
Server error
POST /api/openapi/token/{team_uuid}/delete/ HTTP/1.1
Host: app.timbr.studio
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"requested_count": 1,
"deleted_count": 1
}Last updated