- Jollor Social API (public)
- Webhook
- Render
- Suggestions
- Ratings
- Media
- Get postGET
- Get post capabilitiesGET
- List tagged postsGET
- Close DialoguePUT
- List messages in dialogueGET
- AI translate textPOST
- List agenciesGET
- Create post replyPOST
- Get agencyGET
- List projects in agencyGET
- Get projectGET
- List incoming posts / commentsGET
- List private conversationsGET
- List messages in conversationGET
- Get messageGET
- Get message capabilitiesGET
- Get current userGET
- Create Message ReplyPOST
- Jollor Social API Auth (public)
Refresh project access_token
POST
https://auth-dev.jollor.com/oauth2/token
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string {{Username}}:{{Password}}Example:
Authorization: Basic *****************
Query Params
grant_type
string
required
Example:
refresh_token
Body Params application/json
client_id
string
required
client_secret
string
required
project_id
string | null
optional
access_token
string | null
optional
scope
string
required
refresh_token
string | null
optional
Example
{
"client_id": "{{client_id}}",
"client_secret": "{{client_secret}}",
"refresh_token": "{{project_refresh_token}}",
"scope": "profile project"
}
Request 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://auth-dev.jollor.com/oauth2/token?grant_type=refresh_token' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"client_id": "<your client id>",
"client_secret": "<your secret>",
"refresh_token": "<project refresh_token>",
"scope": "profile project"
}'
Responses
🟢200Success
application/json
Body
access_token
string
required
token_type
string
required
scope
array[string]
required
expire_in
integer
required
refresh_token
string
required
Example
{
"access_token": "string",
"token_type": "string",
"scope": [
"string"
],
"expire_in": 0,
"refresh_token": "string"
}
Modified at 2024-03-11 13:18:58