FebBox
  1. Authentication
FebBox
  • Platform Introduction
    • FebBox Creator Channel Payment Policy
    • FebBox Open Platform Traffic Distribution Module
  • Authentication
    • web api authorize document
    • Get token
      POST
  • Channel
    • Publish article
      POST
    • Delete a ariticle
      POST
    • Upload an article image
      POST
    • Edit an article
      POST
    • Get levels
      POST
    • Subscribers
      POST
  • File
    • Add a file
      POST
    • Task query
      POST
    • Get file(s) download url
      POST
    • File list
      POST
    • Create a directory
      POST
    • File rename
      POST
    • File(s) delete
      POST
    • File(s) copy
      POST
    • File(s) move
      POST
  • Message
    • Send a message
      POST
    • Message conversation list
      POST
    • Mark all messages as read
      POST
    • Get a list of messages in the conversation
      POST
    • Delete a message conversation
      POST
    • Check if there are any new unread messages
      POST
  1. Authentication

Get token

POST
/oauth/token
Last modified:2023-07-12 07:58:20
Maintainer:binbin.yin
Get access_token and refresh_token based on client_id and client_secret.

Request

Body Params application/x-www-form-urlencoded

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.febbox.com/oauth/token' \
--data-urlencode 'client_id=client_id' \
--data-urlencode 'client_secret=client_secret' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'refresh_token=refresh_token'

Responses

🟢200OK
application/json
Body

Example
{
    "code": 0,
    "msg": "string",
    "data": {
        "access_token": "string",
        "expires_in": 0,
        "token_type": "string",
        "scope": null,
        "refresh_token": "string"
    }
}
Modified at 2023-07-12 07:58:20
Previous
web api authorize document
Next
Publish article
Built with