Kayako

App · 23 actions

Open, update and reply to support cases, and manage customers and organizations.

Actions

ActionWhat it does
Add note to caseAdd an internal note to a case, seen only by agents.
Add note to userAdd an internal note to a user's profile.
Add tags to caseAdd tags to a case, keeping the ones it has.
Create caseOpen a case for a requester, by email to them or as an internal note.
Create organizationAdd an organization.
Create userAdd a customer or a team member.
Delete organizationDelete an organization.
Delete userDelete a user.
Get caseGet one case.
Get organizationGet one organization.
Get userGet one user.
List case messagesList a case's messages, newest first.
List case notesList the notes on a case, newest first.
List casesList cases, most recently updated first, with optional filters.
List organizationsList organizations, oldest first.
List usersList users, newest first, optionally only one kind.
Move case to trashMove a case to the trash.
Remove tags from caseTake tags off a case.
Reply to caseEmail a reply to a case's requester, and optionally change its status or assignment.
Restore caseBring a case back from the trash.
Update caseChange a case's subject, requester, status, priority, type, assignment or tags.
Update organizationChange an organization's name, domains, sharing or tags.
Update userChange a user's name, role, organization, job title, teams, tags or time zone.

Add note to case

Add an internal note to a case, seen only by agents.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.
NotecontentstextRequired
The note.
HTML noteis_htmltrue/false
The note is HTML.Default: false.
Statusstatus_idnumber
The case's status.
Prioritypriority_idnumber
The case's priority.
Teamassigned_team_idnumber
The team the case is assigned to.
Agentassigned_agent_idnumber
The agent the case is assigned to.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "case": {
        "assigned_agent": {
          "id": 1,
          "resource_type": "example"
        },
        "assigned_team": {
          "id": 1,
          "resource_type": "example"
        },
        "brand": {
          "id": 1,
          "resource_type": "example"
        },
        "created_at": "example",
        "creator": {
          "id": 1,
          "resource_type": "example"
        },
        "custom_fields": [
          {
            "field": {
              "id": 1,
              "resource_type": "example"
            },
            "value": "example"
          }
        ],
        "form": {
          "id": 1,
          "resource_type": "example"
        },
        "has_attachments": true,
        "has_notes": true,
        "id": 1,
        "is_merged": true,
        "last_agent_activity_at": "example",
        "last_closed_at": "example",
        "last_completed_at": "example",
        "last_customer_activity_at": "example",
        "last_post_preview": "example",
        "last_post_status": "example",
        "last_post_type": "example",
        "last_replied_at": "example",
        "legacy_id": "example",
        "portal": "example",
        "post_count": 1,
        "priority": {
          "id": 1,
          "resource_type": "example"
        },
        "rating": "example",
        "rating_status": "example",
        "requester": {
          "id": 1,
          "resource_type": "example"
        },
        "resource_url": "example",
        "state": "example",
        "status": {
          "id": 1,
          "resource_type": "example"
        },
        "subject": "example",
        "type": {
          "id": 1,
          "resource_type": "example"
        },
        "updated_at": "example"
      },
      "posts": [
        {
          "contents": "example",
          "created_at": "example",
          "creator": {
            "id": 1,
            "resource_type": "example"
          },
          "id": 1,
          "identity": {
            "id": 1,
            "resource_type": "example"
          },
          "original": {
            "id": 1,
            "resource_type": "example"
          },
          "post_status": "example",
          "source": "example",
          "subject": "example",
          "updated_at": "example",
          "uuid": "example"
        }
      ]
    },
    "resource": "example",
    "status": 1
  }
}

Add note to user

Add an internal note to a user's profile.

Inputs

User IDkayako_user_idnumberRequired
The user's ID, from List users or a trigger.
NotecontentstextRequired
The note.
HTML noteis_htmltrue/false
The note is HTML.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "body_html": "example",
      "body_text": "example",
      "created_at": "example",
      "id": 1,
      "is_pinned": true,
      "updated_at": "example",
      "user": {
        "id": 1,
        "resource_type": "example"
      }
    },
    "resource": "example",
    "status": 1
  }
}

Add tags to case

Add tags to a case, keeping the ones it has.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.
TagstagslistRequired
The tags to add.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "limit": 1,
    "offset": 1,
    "resource": "example",
    "status": 1,
    "total_count": 1
  }
}

Create case

Open a case for a requester, by email to them or as an internal note.

Inputs

SubjectsubjecttextRequired
The case's subject.
MessagecontentstextRequired
The first message of the case.
Requester IDrequester_idnumberRequired
The ID of the customer the case is for, from List users or Create user.
Send aschanneltext
Email the message to the requester, or keep it as an internal note.One of: MAIL (Email), NOTE (Internal note). Default: MAIL.
Mailboxmailbox_idnumber
The mailbox to email from. Leave empty for your default mailbox.
HTML messageis_htmltrue/false
The message is HTML.Default: false.
Statusstatus_idnumber
The case's status.
Prioritypriority_idnumber
The case's priority.
Typetype_idnumber
The case's type.
Teamassigned_team_idnumber
The team the case is assigned to.
Agentassigned_agent_idnumber
The agent the case is assigned to.
Tagstagslist
Tags, each a word or phrase.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "assigned_agent": {
        "id": 1,
        "resource_type": "example"
      },
      "assigned_team": {
        "id": 1,
        "resource_type": "example"
      },
      "brand": {
        "id": 1,
        "resource_type": "example"
      },
      "created_at": "example",
      "creator": {
        "id": 1,
        "resource_type": "example"
      },
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "form": {
        "id": 1,
        "resource_type": "example"
      },
      "has_attachments": true,
      "has_notes": true,
      "id": 1,
      "is_merged": true,
      "last_agent_activity_at": "example",
      "last_closed_at": "example",
      "last_completed_at": "example",
      "last_customer_activity_at": "example",
      "last_post_preview": "example",
      "last_post_status": "example",
      "last_post_type": "example",
      "last_replied_at": "example",
      "legacy_id": "example",
      "portal": "example",
      "post_count": 1,
      "priority": {
        "id": 1,
        "resource_type": "example"
      },
      "rating": "example",
      "rating_status": "example",
      "requester": {
        "id": 1,
        "resource_type": "example"
      },
      "resource_url": "example",
      "state": "example",
      "status": {
        "id": 1,
        "resource_type": "example"
      },
      "subject": "example",
      "type": {
        "id": 1,
        "resource_type": "example"
      },
      "updated_at": "example"
    },
    "resource": "example",
    "status": 1
  }
}

Create organization

Add an organization.

Inputs

NamenametextRequired
The organization's name.
Domainsdomainslist
Email domains whose people belong to it, such as example.com.
Sharedis_sharedtrue/false
Let its members see each other's cases.
Tagstagslist
Tags, each a word or phrase.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "created_at": "example",
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "domains": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "id": 1,
      "is_shared": true,
      "legacy_id": "example",
      "name": "example",
      "pinned_notes_count": 1,
      "updated_at": "example"
    },
    "resource": "example",
    "status": 1
  }
}

Create user

Add a customer or a team member.

Inputs

Full namefull_nametextRequired
The person's full name.
Kindroletext
What kind of person this is.One of: CUSTOMER, COLLABORATOR, AGENT, ADMIN. Default: CUSTOMER.
Custom rolerole_idnumber
A role of your own to give them instead, such as a custom agent role.
Emailemailtext
The person's email address. Needed for agents, admins and collaborators.
Job titledesignationtext
The person's job title.
Teamsteam_idslist
The teams of an agent, admin or collaborator. Needed for them.
Time zonetime_zonetext
The person's time zone, such as Europe/London.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "created_at": "example",
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "designation": "example",
      "emails": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "full_name": "example",
      "id": 1,
      "is_enabled": true,
      "last_active_at": "example",
      "last_seen_at": "example",
      "legacy_id": "example",
      "locale": "example",
      "organization": {
        "id": 1,
        "resource_type": "example"
      },
      "phones": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "role": {
        "id": 1,
        "resource_type": "example"
      },
      "teams": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "time_zone": "example",
      "updated_at": "example",
      "uuid": "example"
    },
    "resource": "example",
    "status": 1
  }
}

Delete organization

Delete an organization.

Inputs

Organizationorganization_idnumberRequired
The organization.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "status": 1
  }
}

Delete user

Delete a user.

Inputs

User IDkayako_user_idnumberRequired
The user's ID, from List users or a trigger.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "status": 1
  }
}

Get case

Get one case.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "assigned_agent": {
        "id": 1,
        "resource_type": "example"
      },
      "assigned_team": {
        "id": 1,
        "resource_type": "example"
      },
      "brand": {
        "id": 1,
        "resource_type": "example"
      },
      "created_at": "example",
      "creator": {
        "id": 1,
        "resource_type": "example"
      },
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "form": {
        "id": 1,
        "resource_type": "example"
      },
      "has_attachments": true,
      "has_notes": true,
      "id": 1,
      "is_merged": true,
      "last_agent_activity_at": "example",
      "last_closed_at": "example",
      "last_completed_at": "example",
      "last_customer_activity_at": "example",
      "last_post_preview": "example",
      "last_post_status": "example",
      "last_post_type": "example",
      "last_replied_at": "example",
      "legacy_id": "example",
      "portal": "example",
      "post_count": 1,
      "priority": {
        "id": 1,
        "resource_type": "example"
      },
      "rating": "example",
      "rating_status": "example",
      "requester": {
        "id": 1,
        "resource_type": "example"
      },
      "resource_url": "example",
      "state": "example",
      "status": {
        "id": 1,
        "resource_type": "example"
      },
      "subject": "example",
      "type": {
        "id": 1,
        "resource_type": "example"
      },
      "updated_at": "example"
    },
    "resource": "example",
    "status": 1
  }
}

Get organization

Get one organization.

Inputs

Organizationorganization_idnumberRequired
The organization.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "created_at": "example",
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "domains": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "id": 1,
      "is_shared": true,
      "legacy_id": "example",
      "name": "example",
      "pinned_notes_count": 1,
      "updated_at": "example"
    },
    "resource": "example",
    "status": 1
  }
}

Get user

Get one user.

Inputs

User IDkayako_user_idnumberRequired
The user's ID, from List users or a trigger.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "created_at": "example",
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "designation": "example",
      "emails": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "full_name": "example",
      "id": 1,
      "is_enabled": true,
      "last_active_at": "example",
      "last_seen_at": "example",
      "legacy_id": "example",
      "locale": "example",
      "organization": {
        "id": 1,
        "resource_type": "example"
      },
      "phones": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "role": {
        "id": 1,
        "resource_type": "example"
      },
      "teams": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "time_zone": "example",
      "updated_at": "example",
      "uuid": "example"
    },
    "resource": "example",
    "status": 1
  }
}

List case messages

List a case's messages, newest first.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.
Showfilterstext
Which posts to list.One of: MESSAGES, NOTES, ALL (Everything, with activities). Default: MESSAGES.
Offsetoffsetnumber
How many to skip, for the next page.At least 0. Default: 0.
Limitlimitnumber
How many to return.From 1 to 1000. Default: 25.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": [
      {
        "contents": "example",
        "created_at": "example",
        "creator": {
          "id": 1,
          "resource_type": "example"
        },
        "id": 1,
        "identity": {
          "id": 1,
          "resource_type": "example"
        },
        "original": {
          "id": 1,
          "resource_type": "example"
        },
        "post_status": "example",
        "source": "example",
        "subject": "example",
        "updated_at": "example",
        "uuid": "example"
      }
    ],
    "limit": 1,
    "offset": 1,
    "resource": "example",
    "status": 1,
    "total_count": 1
  }
}

List case notes

List the notes on a case, newest first.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.
Offsetoffsetnumber
How many to skip, for the next page.At least 0. Default: 0.
Limitlimitnumber
How many to return.From 1 to 1000. Default: 25.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": [
      {
        "body_html": "example",
        "body_text": "example",
        "created_at": "example",
        "id": 1,
        "is_pinned": true,
        "updated_at": "example",
        "user": {
          "id": 1,
          "resource_type": "example"
        }
      }
    ],
    "limit": 1,
    "offset": 1,
    "resource": "example",
    "status": 1,
    "total_count": 1
  }
}

List cases

List cases, most recently updated first, with optional filters.

Inputs

Statusstatuslist
Only cases in these kinds of status.One or more of: NEW, OPEN, PENDING, COMPLETED, CLOSED, CUSTOM.
Tagstagslist
Only cases with these tags.
Requester emailrequester_emailtext
Only cases from the requester with this email address.
Offsetoffsetnumber
How many to skip, for the next page.At least 0. Default: 0.
Limitlimitnumber
How many to return.From 1 to 1000. Default: 25.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": [
      {
        "assigned_agent": {
          "id": 1,
          "resource_type": "example"
        },
        "assigned_team": {
          "id": 1,
          "resource_type": "example"
        },
        "brand": {
          "id": 1,
          "resource_type": "example"
        },
        "created_at": "example",
        "creator": {
          "id": 1,
          "resource_type": "example"
        },
        "custom_fields": [
          {
            "field": {
              "id": 1,
              "resource_type": "example"
            },
            "value": "example"
          }
        ],
        "form": {
          "id": 1,
          "resource_type": "example"
        },
        "has_attachments": true,
        "has_notes": true,
        "id": 1,
        "is_merged": true,
        "last_agent_activity_at": "example",
        "last_closed_at": "example",
        "last_completed_at": "example",
        "last_customer_activity_at": "example",
        "last_post_preview": "example",
        "last_post_status": "example",
        "last_post_type": "example",
        "last_replied_at": "example",
        "legacy_id": "example",
        "portal": "example",
        "post_count": 1,
        "priority": {
          "id": 1,
          "resource_type": "example"
        },
        "rating": "example",
        "rating_status": "example",
        "requester": {
          "id": 1,
          "resource_type": "example"
        },
        "resource_url": "example",
        "state": "example",
        "status": {
          "id": 1,
          "resource_type": "example"
        },
        "subject": "example",
        "type": {
          "id": 1,
          "resource_type": "example"
        },
        "updated_at": "example"
      }
    ],
    "limit": 1,
    "offset": 1,
    "resource": "example",
    "status": 1,
    "total_count": 1
  }
}

List organizations

List organizations, oldest first.

Inputs

Offsetoffsetnumber
How many to skip, for the next page.At least 0. Default: 0.
Limitlimitnumber
How many to return.From 1 to 1000. Default: 25.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": [
      {
        "created_at": "example",
        "custom_fields": [
          {
            "field": {
              "id": 1,
              "resource_type": "example"
            },
            "value": "example"
          }
        ],
        "domains": [
          {
            "id": 1,
            "resource_type": "example"
          }
        ],
        "id": 1,
        "is_shared": true,
        "legacy_id": "example",
        "name": "example",
        "pinned_notes_count": 1,
        "updated_at": "example"
      }
    ],
    "limit": 1,
    "offset": 1,
    "resource": "example",
    "status": 1,
    "total_count": 1
  }
}

List users

List users, newest first, optionally only one kind.

Inputs

Roleroletext
Only users of this kind.One of: CUSTOMER, COLLABORATOR, AGENT, ADMIN.
Offsetoffsetnumber
How many to skip, for the next page.At least 0. Default: 0.
Limitlimitnumber
How many to return.From 1 to 1000. Default: 25.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": [
      {
        "created_at": "example",
        "custom_fields": [
          {
            "field": {
              "id": 1,
              "resource_type": "example"
            },
            "value": "example"
          }
        ],
        "designation": "example",
        "emails": [
          {
            "id": 1,
            "resource_type": "example"
          }
        ],
        "full_name": "example",
        "id": 1,
        "is_enabled": true,
        "last_active_at": "example",
        "last_seen_at": "example",
        "legacy_id": "example",
        "locale": "example",
        "organization": {
          "id": 1,
          "resource_type": "example"
        },
        "phones": [
          {
            "id": 1,
            "resource_type": "example"
          }
        ],
        "role": {
          "id": 1,
          "resource_type": "example"
        },
        "teams": [
          {
            "id": 1,
            "resource_type": "example"
          }
        ],
        "time_zone": "example",
        "updated_at": "example",
        "uuid": "example"
      }
    ],
    "limit": 1,
    "offset": 1,
    "resource": "example",
    "status": 1,
    "total_count": 1
  }
}

Move case to trash

Move a case to the trash. Restore case brings it back.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "assigned_agent": {
        "id": 1,
        "resource_type": "example"
      },
      "assigned_team": {
        "id": 1,
        "resource_type": "example"
      },
      "brand": {
        "id": 1,
        "resource_type": "example"
      },
      "created_at": "example",
      "creator": {
        "id": 1,
        "resource_type": "example"
      },
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "form": {
        "id": 1,
        "resource_type": "example"
      },
      "has_attachments": true,
      "has_notes": true,
      "id": 1,
      "is_merged": true,
      "last_agent_activity_at": "example",
      "last_closed_at": "example",
      "last_completed_at": "example",
      "last_customer_activity_at": "example",
      "last_post_preview": "example",
      "last_post_status": "example",
      "last_post_type": "example",
      "last_replied_at": "example",
      "legacy_id": "example",
      "portal": "example",
      "post_count": 1,
      "priority": {
        "id": 1,
        "resource_type": "example"
      },
      "rating": "example",
      "rating_status": "example",
      "requester": {
        "id": 1,
        "resource_type": "example"
      },
      "resource_url": "example",
      "state": "example",
      "status": {
        "id": 1,
        "resource_type": "example"
      },
      "subject": "example",
      "type": {
        "id": 1,
        "resource_type": "example"
      },
      "updated_at": "example"
    },
    "resource": "example",
    "status": 1
  }
}

Remove tags from case

Take tags off a case.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.
TagstagslistRequired
The tags to remove.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": [
      {
        "id": 1,
        "name": "example"
      }
    ],
    "limit": 1,
    "offset": 1,
    "resource": "example",
    "status": 1,
    "total_count": 1
  }
}

Reply to case

Email a reply to a case's requester, and optionally change its status or assignment.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.
ReplycontentstextRequired
The reply.
Mailboxmailbox_idnumber
The mailbox to send the reply from. Leave empty for your default mailbox.
Cccclist
Email addresses to copy on the reply.
Statusstatus_idnumber
The case's status.
Prioritypriority_idnumber
The case's priority.
Teamassigned_team_idnumber
The team the case is assigned to.
Agentassigned_agent_idnumber
The agent the case is assigned to.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "case": {
        "assigned_agent": {
          "id": 1,
          "resource_type": "example"
        },
        "assigned_team": {
          "id": 1,
          "resource_type": "example"
        },
        "brand": {
          "id": 1,
          "resource_type": "example"
        },
        "created_at": "example",
        "creator": {
          "id": 1,
          "resource_type": "example"
        },
        "custom_fields": [
          {
            "field": {
              "id": 1,
              "resource_type": "example"
            },
            "value": "example"
          }
        ],
        "form": {
          "id": 1,
          "resource_type": "example"
        },
        "has_attachments": true,
        "has_notes": true,
        "id": 1,
        "is_merged": true,
        "last_agent_activity_at": "example",
        "last_closed_at": "example",
        "last_completed_at": "example",
        "last_customer_activity_at": "example",
        "last_post_preview": "example",
        "last_post_status": "example",
        "last_post_type": "example",
        "last_replied_at": "example",
        "legacy_id": "example",
        "portal": "example",
        "post_count": 1,
        "priority": {
          "id": 1,
          "resource_type": "example"
        },
        "rating": "example",
        "rating_status": "example",
        "requester": {
          "id": 1,
          "resource_type": "example"
        },
        "resource_url": "example",
        "state": "example",
        "status": {
          "id": 1,
          "resource_type": "example"
        },
        "subject": "example",
        "type": {
          "id": 1,
          "resource_type": "example"
        },
        "updated_at": "example"
      },
      "posts": [
        {
          "contents": "example",
          "created_at": "example",
          "creator": {
            "id": 1,
            "resource_type": "example"
          },
          "id": 1,
          "identity": {
            "id": 1,
            "resource_type": "example"
          },
          "original": {
            "id": 1,
            "resource_type": "example"
          },
          "post_status": "example",
          "source": "example",
          "subject": "example",
          "updated_at": "example",
          "uuid": "example"
        }
      ]
    },
    "resource": "example",
    "status": 1
  }
}

Restore case

Bring a case back from the trash.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "assigned_agent": {
        "id": 1,
        "resource_type": "example"
      },
      "assigned_team": {
        "id": 1,
        "resource_type": "example"
      },
      "brand": {
        "id": 1,
        "resource_type": "example"
      },
      "created_at": "example",
      "creator": {
        "id": 1,
        "resource_type": "example"
      },
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "form": {
        "id": 1,
        "resource_type": "example"
      },
      "has_attachments": true,
      "has_notes": true,
      "id": 1,
      "is_merged": true,
      "last_agent_activity_at": "example",
      "last_closed_at": "example",
      "last_completed_at": "example",
      "last_customer_activity_at": "example",
      "last_post_preview": "example",
      "last_post_status": "example",
      "last_post_type": "example",
      "last_replied_at": "example",
      "legacy_id": "example",
      "portal": "example",
      "post_count": 1,
      "priority": {
        "id": 1,
        "resource_type": "example"
      },
      "rating": "example",
      "rating_status": "example",
      "requester": {
        "id": 1,
        "resource_type": "example"
      },
      "resource_url": "example",
      "state": "example",
      "status": {
        "id": 1,
        "resource_type": "example"
      },
      "subject": "example",
      "type": {
        "id": 1,
        "resource_type": "example"
      },
      "updated_at": "example"
    },
    "resource": "example",
    "status": 1
  }
}

Update case

Change a case's subject, requester, status, priority, type, assignment or tags.

Inputs

Case IDcase_idnumberRequired
The case's ID, from List cases or a trigger.
Subjectsubjecttext
The case's new subject.
Requester IDrequester_idnumber
The ID of the customer the case is for.
Statusstatus_idnumber
The case's status.
Prioritypriority_idnumber
The case's priority.
Typetype_idnumber
The case's type.
Teamassigned_team_idnumber
The team the case is assigned to.
Agentassigned_agent_idnumber
The agent the case is assigned to.
Tagstagslist
Tags to replace the case's tags with.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "assigned_agent": {
        "id": 1,
        "resource_type": "example"
      },
      "assigned_team": {
        "id": 1,
        "resource_type": "example"
      },
      "brand": {
        "id": 1,
        "resource_type": "example"
      },
      "created_at": "example",
      "creator": {
        "id": 1,
        "resource_type": "example"
      },
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "form": {
        "id": 1,
        "resource_type": "example"
      },
      "has_attachments": true,
      "has_notes": true,
      "id": 1,
      "is_merged": true,
      "last_agent_activity_at": "example",
      "last_closed_at": "example",
      "last_completed_at": "example",
      "last_customer_activity_at": "example",
      "last_post_preview": "example",
      "last_post_status": "example",
      "last_post_type": "example",
      "last_replied_at": "example",
      "legacy_id": "example",
      "portal": "example",
      "post_count": 1,
      "priority": {
        "id": 1,
        "resource_type": "example"
      },
      "rating": "example",
      "rating_status": "example",
      "requester": {
        "id": 1,
        "resource_type": "example"
      },
      "resource_url": "example",
      "state": "example",
      "status": {
        "id": 1,
        "resource_type": "example"
      },
      "subject": "example",
      "type": {
        "id": 1,
        "resource_type": "example"
      },
      "updated_at": "example"
    },
    "resource": "example",
    "status": 1
  }
}

Update organization

Change an organization's name, domains, sharing or tags.

Inputs

Organizationorganization_idnumberRequired
The organization.
Namenametext
The organization's name.
Domainsdomainslist
Domains to replace its domains with.
Sharedis_sharedtrue/false
Let its members see each other's cases.
Tagstagslist
Tags to replace its tags with.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "created_at": "example",
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "domains": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "id": 1,
      "is_shared": true,
      "legacy_id": "example",
      "name": "example",
      "pinned_notes_count": 1,
      "updated_at": "example"
    },
    "resource": "example",
    "status": 1
  }
}

Update user

Change a user's name, role, organization, job title, teams, tags or time zone.

Inputs

User IDkayako_user_idnumberRequired
The user's ID, from List users or a trigger.
Full namefull_nametext
The person's full name.
Rolerole_idnumber
The person's role.
Organizationorganization_idnumber
The organization the person belongs to.
Job titledesignationtext
The person's job title.
Teamsteam_idslist
Teams to replace the person's teams with.
Tagstagslist
Tags to replace the person's tags with.
Time zonetime_zonetext
The person's time zone, such as Europe/London.
Enabledis_enabledtrue/false
Whether the person can sign in.

Outputs

dataobject
The response from Kayako.
Example output
{
  "data": {
    "data": {
      "created_at": "example",
      "custom_fields": [
        {
          "field": {
            "id": 1,
            "resource_type": "example"
          },
          "value": "example"
        }
      ],
      "designation": "example",
      "emails": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "full_name": "example",
      "id": 1,
      "is_enabled": true,
      "last_active_at": "example",
      "last_seen_at": "example",
      "legacy_id": "example",
      "locale": "example",
      "organization": {
        "id": 1,
        "resource_type": "example"
      },
      "phones": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "role": {
        "id": 1,
        "resource_type": "example"
      },
      "teams": [
        {
          "id": 1,
          "resource_type": "example"
        }
      ],
      "time_zone": "example",
      "updated_at": "example",
      "uuid": "example"
    },
    "resource": "example",
    "status": 1
  }
}

On this page