Jollor
  1. Webhook
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
        POST
      • Enables the webhook of the provided project
        POST
      • Get project Webhook
        GET
      • Deletes webhook of the provided project
        DELETE
      • Updates webhook of the provided project
        PUT
      • Get Test webhook
        GET
    • 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
    • Exchange user access_token with project access_token
    • Refresh project access_token
  1. Webhook

Updates webhook of the provided project

PUT
/public/v1/projects/{project_id}/webhook
Updates webhook of the provided project
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://app-dev.jollor.com/api/public/v1/projects//webhook' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
  "callback_url": "https://eyed-picks-sherman-cabinet.trycloudflare.com/WeatherForecast"
}'
Response Response Example
{
  "callback_url": "http://host.docker.internal:3658/m1/412789-0-default/webhook/success",
  "verify_token": "123456789",
  "status": "active",
  "subscriptions": {
    "post_received": true
  },
  "_links": {
    "self": {
      "href": "/public/v1/projects/612cc9931d1652451ef2e6d0/webhook"
    }
  }
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
project_id
string 
required
Header Params
Content-Type
string 
required
Example:
application/json
Accept
string 
required
Example:
application/json
Body Params application/json
callback_url
string 
required
Callback URL
Examples

Responses

🟢200Success
application/json
Body
callback_url
string 
required
verify_token
string 
required
status
string 
required
subscriptions
object 
required
_links
object 
required
self
object 
required
Modified at 2023-12-05 06:59:19
Previous
Deletes webhook of the provided project
Next
Get Test webhook
Built with