DeepFellow DOCS

Token

POST
/auth/token

Login user.

Request Body

application/x-www-form-urlencoded
  1. body
grant_type?|null
username*string
password*string
Formatpassword
scope?string
Default""
client_id?string|null
client_secret?|
Formatpassword

Response Body

Successful Response

application/json
  1. response
access_token*string

User access token.

refresh_token*string

User refresh token.

token_type?string
Default"bearer"
access_expires_at*integer

The Unix timestamp (in seconds) for when the access token will expire.

refresh_expires_at*integer

The Unix timestamp (in seconds) for when the refresh token will expire.

Example Request
curl -X POST 'https://deepfellow-server-host/auth/token' \  -H 'Content-Type: application/x-www-form-urlencoded' \  -d 'username=string&password=pa%24%24word'
Example Response
{  "access_token": "string",  "refresh_token": "string",  "token_type": "bearer",  "access_expires_at": 0,  "refresh_expires_at": 0}

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.