Integration Calendly
  • 16 Jun 2022
  • 2 Minutes to read
  • Dark
    Light

Integration Calendly

  • Dark
    Light

Article summary

Integration Calendly

Integration Calendly JSON Format

Integration Calendly is represented as simple flat JSON objects with the following keys:

NameTypeDescription
isDeletedboolIs delete or not.
calendlyUserNamestringThe name of calendly user.
idguidId of the item.
accessTokenstringToken of the access the integration.
refreshTokenstringToken of the refresh the integration.
namestringThe name of the user who booked the calendly.
calendlyUserUristringURL of the calendly user.

Get the list of Integration Calendlys

GET livechat/integrationCalendlys

  • Parameters:

No Parameters

  • Response:

An array of Integration Calendly

  • Example

Sample Request:

curl https://api11.comm100.io/v4/livechat/integrationCalendlys \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "isDeleted": false,
      "calendlyUserName": "ruchenliu@163.com",
      "id": "B62EA95D-BE0A-404E-8098-7147E7F432B7",
      "accessToken": "",
      "refreshToken": "",
      "name": "ruchenliu@163.com",
      "calendlyUserUri": "https:api.calendly.com/user/AHFGUUED43A5VQ54"
  }
] 

Get a single Integration Calendly

GET livechat/integrationCalendlys/{id}

  • Parameters:

No Parameters

  • Response:

Integration Calendly

  • Example

Sample Request:

curl https://api11.comm100.io/v4/livechat/integrationCalendlys/B62EA95D-BE0A-404E-8098-7147E7F432B7 \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "isDeleted": false,
  "calendlyUserName": "ruchenliu@163.com",
  "id": "B62EA95D-BE0A-404E-8098-7147E7F432B7",
  "accessToken": "",
  "refreshToken": "",
  "name": "ruchenliu@163.com",
  "calendlyUserUri": "https:api.calendly.com/user/AHFGUUED43A5VQ54"
} 

Create a new Integration Calendly

POST livechat/integrationCalendlys

  • Parameters:

NameTypeinRequiredDescription
isDeletedboolbodynoIs delete or not.
calendlyUserNamestringbodynoThe name of calendly user.
accessTokenstringbodynoToken of the access the integration.
refreshTokenstringbodynoToken of the refresh the integration.
namestringbodyyesThe name of the user who booked the calendly.
calendlyUserUristringbodynoURL of the calendly user.
  • Response:

Integration Calendly

  • Example

Sample Request:

curl https://api11.comm100.io/v4/livechat/integrationCalendlys \ 
    -X 'POST' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"isDeleted":false,"calendlyUserName":"ruchenliu@163.com","accessToken":"","refreshToken":"","name":"ruchenliu@163.com","calendlyUserUri":"https:api.calendly.com/user/AHFGUUED43A5VQ54"}' 

Response:

HTTP/1.1 201 Created

{
  "isDeleted": false,
  "calendlyUserName": "ruchenliu@163.com",
  "id": "B62EA95D-BE0A-404E-8098-7147E7F432B7",
  "accessToken": "",
  "refreshToken": "",
  "name": "ruchenliu@163.com",
  "calendlyUserUri": "https:api.calendly.com/user/AHFGUUED43A5VQ54"
} 

Update the Integration Calendly

PUT livechat/integrationCalendlys/{id}

  • Parameters:

NameTypeinRequiredDescription
isDeletedboolbodynoIs delete or not.
calendlyUserNamestringbodynoThe name of calendly user.
accessTokenstringbodynoToken of the access the integration.
refreshTokenstringbodynoToken of the refresh the integration.
namestringbodyyesThe name of the user who booked the calendly.
calendlyUserUristringbodynoURL of the calendly user.
  • Response:

Integration Calendly

  • Example

Sample Request:

curl https://api11.comm100.io/v4/livechat/integrationCalendlys/B62EA95D-BE0A-404E-8098-7147E7F432B7 \ 
    -X 'PUT' \ 
    -H 'Authorization: Bearer {access_token}' \ 
    -H 'Content-Type: application/json' \ 
    -D '{"isDeleted":false,"calendlyUserName":"ruchenliu@163.com","accessToken":"","refreshToken":"","name":"ruchenliu@163.com","calendlyUserUri":"https:api.calendly.com/user/AHFGUUED43A5VQ54"}' 

Response:

HTTP/1.1 200 OK

{
  "isDeleted": false,
  "calendlyUserName": "ruchenliu@163.com",
  "id": "B62EA95D-BE0A-404E-8098-7147E7F432B7",
  "accessToken": "",
  "refreshToken": "",
  "name": "ruchenliu@163.com",
  "calendlyUserUri": "https:api.calendly.com/user/AHFGUUED43A5VQ54"
} 

Remove the Integration Calendly

DELETE livechat/integrationCalendlys/{id}

  • Parameters:

No Parameters

  • Response:

No Content

  • Example

Sample Request:

curl https://api11.comm100.io/v4/livechat/integrationCalendlys/B62EA95D-BE0A-404E-8098-7147E7F432B7 \ 
    -X 'DELETE' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 204 No Content


Was this article helpful?