Jollor
  1. Jollor Social API Auth (public)
Jollor
  • Jollor Social API (public)
    • Webhook
      • subscriptions
        • Used to specify when the webhook should be called
        • Used to specify when the webhook should not be called
      • Send Test webhook
      • Enables the webhook of the provided project
      • Get project Webhook
      • Deletes webhook of the provided project
      • Updates webhook of the provided project
      • Get Test webhook
    • Render
      • Render message
      • Render post
    • Suggestions
      • Get Suggestions from AI Service
    • Ratings
      • Put rating for an automatic reply written by an AI
    • Media
      • New Media
    • Get post
      GET
    • Get post capabilities
      GET
    • List tagged posts
      GET
    • Close Dialogue
      PUT
    • List messages in dialogue
      GET
    • AI translate text
      POST
    • List agencies
      GET
    • Create post reply
      POST
    • Get agency
      GET
    • List projects in agency
      GET
    • Get project
      GET
    • List incoming posts / comments
      GET
    • List private conversations
      GET
    • List messages in conversation
      GET
    • Get message
      GET
    • Get message capabilities
      GET
    • Get current user
      GET
    • Create Message Reply
      POST
  • Jollor Social API Auth (public)
    • Create user access_token
      POST
    • Exchange user access_token with project access_token
      POST
    • Refresh project access_token
      POST
  1. Jollor Social API Auth (public)

Create user access_token

POST
https://auth-dev.jollor.com/oauth2/token
A request to obtain an access_token for a user using username and password
exchange user access_token with project access_token
obtain an access_token from refresh_token
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://auth-dev.jollor.com/oauth2/token?grant_type=password' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
    "client_id": "<your client id>",
    "client_secret": "<your secret>",
    "scope": "profile agency"
}'
Response Response Example
{
  "access_token": "string",
  "token_type": "string",
  "scope": [
    "string"
  ],
  "expire_in": 0,
  "refresh_token": "string"
}

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:
password
Body Params application/json
client_id
string 
required
Client ID
client_secret
string 
required
Client Secret ID
project_id
string  | null 
optional
Project ID
access_token
string  | null 
optional
Access Token
scope
string 
required
Default value: profile project
refresh_token
string  | null 
optional
Refresh Token
Examples

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
Previous
Create Message Reply
Next
Exchange user access_token with project access_token
Built with