Skip to main content
PATCH
/
integrations
/
v2
/
use-cases
/
{integration_use_case_id}
Update Integration
curl --request PATCH \
  --url https://api-qa.interactly.ai/integrations/v2/use-cases/{integration_use_case_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "logicalId": "<string>",
  "integrationId": "5eb7cf5a86d9755df3a6c593",
  "config": {
    "displayName": "<string>",
    "assistantId": "5eb7cf5a86d9755df3a6c593",
    "status": "active",
    "timezone": "<string>",
    "type": "appointment_reminder_with_sheet",
    "name": "New Patients Appointment Reminder",
    "sheetLink": "<string>",
    "actions": [
      {
        "templateName": "<string>",
        "actionType": "call",
        "context": "<string>",
        "schedule": {
          "startDateTime": "2023-11-07T05:31:56Z",
          "endDateTime": "2023-11-07T05:31:56Z",
          "field": "oneTime",
          "triggerAt": "2023-11-07T05:31:56Z"
        }
      }
    ]
  }
}
'
{
  "integration_use_case": {
    "teamId": "5eb7cf5a86d9755df3a6c593",
    "createdBy": "5eb7cf5a86d9755df3a6c593",
    "updatedBy": "5eb7cf5a86d9755df3a6c593",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "_id": "5eb7cf5a86d9755df3a6c593",
    "logicalId": "<string>",
    "integrationId": "5eb7cf5a86d9755df3a6c593",
    "config": {
      "displayName": "<string>",
      "assistantId": "5eb7cf5a86d9755df3a6c593",
      "status": "active",
      "timezone": "<string>",
      "type": "appointment_reminder_with_sheet",
      "name": "New Patients Appointment Reminder",
      "sheetLink": "<string>",
      "actions": [
        {
          "templateName": "<string>",
          "actionType": "call",
          "context": "<string>",
          "schedule": {
            "startDateTime": "2023-11-07T05:31:56Z",
            "endDateTime": "2023-11-07T05:31:56Z",
            "field": "oneTime",
            "triggerAt": "2023-11-07T05:31:56Z"
          }
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Path Parameters

integration_use_case_id
string
required
Required string length: 24
Example:

"5eb7cf5a86d9755df3a6c593"

Body

application/json
logicalId
string | null

Unique identifier for the integration use-case

integrationId
string | null

Reference to the associated integration

Required string length: 24
Example:

"5eb7cf5a86d9755df3a6c593"

config
AppointmentReminderWithSheetUseCaseConfig · object

type-specific configuration schema determined by 'type'.

Response

Successful Response

Response model for a single integration use case. Contains a IntegrationsUseCasesModel object.

integration_use_case
IntegrationsUseCasesModel · object
required

Single integration use case object