Skip to Content

VendorUsersApi

All URIs are relative to https://business.apis.kesk.app/v1 

MethodHTTP requestDescription
acceptVendorInvitationPOST /vendors/user-management/accept-invitationAccept vendor invitation and complete user registration
assignVendorUserRolePOST /vendors/{vendor_id}/user-management/users/{user_id}/roles/{role_id}Assign role to a user
createVendorRolePOST /vendors/{vendor_id}/user-management/rolesCreate a new vendor role
deleteVendorRoleDELETE /vendors/{vendor_id}/user-management/roles/{role_id}Delete a vendor role
deleteVendorUserDELETE /vendors/{vendor_id}/users/{user_id}Delete a vendor user
getVendorPermissionsGET /vendors/{vendor_id}/user-management/permissionsGet available permissions for vendor roles
getVendorRoleGET /vendors/{vendor_id}/user-management/roles/{role_id}Get a specific vendor role
getVendorUserGET /vendors/{vendor_id}/users/{user_id}Get a specific vendor user
inviteVendorUserPOST /vendors/{vendor_id}/users/inviteSend invitation to a user to join vendor
listVendorRolesGET /vendors/{vendor_id}/user-management/rolesList all roles for a vendor
listVendorUsersGET /vendors/{vendor_id}/usersList all users for a vendor
removeVendorUserRoleDELETE /vendors/{vendor_id}/user-management/users/{user_id}/roles/{role_id}Remove role from a user
updateVendorRolePUT /vendors/{vendor_id}/user-management/roles/{role_id}Update a vendor role
updateVendorUserPUT /vendors/{vendor_id}/users/{user_id}Update a vendor user

acceptVendorInvitation

VendorUserResponse acceptVendorInvitation(AcceptVendorInvitationRequest)

Accept vendor invitation and complete user registration

Allows an invited user to accept their invitation and join the vendor’s team. The invitation token is validated and the user is added to the vendor account.

Parameters

NameTypeDescriptionNotes
AcceptVendorInvitationRequestAcceptVendorInvitationRequestRequest containing the unique invitation token

Return type

VendorUserResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

assignVendorUserRole

MessageResponse assignVendorUserRole(vendor_id, user_id, role_id)

Assign role to a user

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
user_idLong[default to null]
role_idLong[default to null]

Return type

MessageResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

createVendorRole

VendorRoleListResponse createVendorRole(vendor_id, CreateVendorRoleRequest)

Create a new vendor role

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
CreateVendorRoleRequestCreateVendorRoleRequest

Return type

VendorRoleListResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

deleteVendorRole

MessageResponse deleteVendorRole(vendor_id, role_id)

Delete a vendor role

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
role_idLong[default to null]

Return type

MessageResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

deleteVendorUser

MessageResponse deleteVendorUser(vendor_id, user_id)

Delete a vendor user

Removes a team member from the vendor’s account. This action permanently revokes the user’s access to vendor resources.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
user_idLongUnique identifier of the user to delete[default to null]

Return type

MessageResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorPermissions

PaginatedResponse_string getVendorPermissions(vendor_id, page, per_page)

Get available permissions for vendor roles

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
pageInteger[optional] [default to null]
per_pageInteger[optional] [default to null]

Return type

PaginatedResponse_string

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorRole

VendorRoleListResponse getVendorRole(vendor_id, role_id)

Get a specific vendor role

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
role_idLong[default to null]

Return type

VendorRoleListResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

getVendorUser

VendorUserResponse getVendorUser(vendor_id, user_id)

Get a specific vendor user

Retrieves detailed information about a specific team member. Returns user profile, roles, and activity status.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
user_idLongUnique identifier of the user to retrieve[default to null]

Return type

VendorUserResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

inviteVendorUser

VendorInvitationResponse inviteVendorUser(vendor_id, InviteVendorUserRequest)

Send invitation to a user to join vendor

Creates and sends an invitation to a new team member via email or phone. The invitation includes a unique token for completing the registration process.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
InviteVendorUserRequestInviteVendorUserRequestInvitation details including email or phone number

Return type

VendorInvitationResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

listVendorRoles

PaginatedResponse_VendorRoleListResponse listVendorRoles(vendor_id, per_page, page, search, is_active)

List all roles for a vendor

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
per_pageInteger[optional] [default to null]
pageInteger[optional] [default to null]
searchString[optional] [default to null]
is_activeBoolean[optional] [default to null]

Return type

PaginatedResponse_VendorRoleListResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

listVendorUsers

PaginatedResponse_VendorUserResponse listVendorUsers(vendor_id, per_page, page, search, role, is_active)

List all users for a vendor

Retrieves a paginated list of all team members associated with the vendor. Supports filtering by search term, role, and active status.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
per_pageIntegerNumber of results per page (default: 10)[optional] [default to null]
pageIntegerPage number for pagination (default: 1)[optional] [default to null]
searchStringSearch term to filter users by name or email[optional] [default to null]
roleStringFilter users by specific role[optional] [default to null]
is_activeBooleanFilter users by active status[optional] [default to null]

Return type

PaginatedResponse_VendorUserResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

removeVendorUserRole

MessageResponse removeVendorUserRole(vendor_id, user_id, role_id)

Remove role from a user

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
user_idLong[default to null]
role_idLong[default to null]

Return type

MessageResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json; charset=utf-8

updateVendorRole

VendorRoleListResponse updateVendorRole(vendor_id, role_id, UpdateVendorRoleRequest)

Update a vendor role

Parameters

NameTypeDescriptionNotes
vendor_idLong[default to null]
role_idLong[default to null]
UpdateVendorRoleRequestUpdateVendorRoleRequest

Return type

VendorRoleListResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8

updateVendorUser

VendorUserResponse updateVendorUser(vendor_id, user_id, UpdateVendorUserRequest)

Update a vendor user

Modifies an existing team member’s profile information and settings. Allows updating name, email, phone, and active status.

Parameters

NameTypeDescriptionNotes
vendor_idLongUnique identifier of the vendor[default to null]
user_idLongUnique identifier of the user to update[default to null]
UpdateVendorUserRequestUpdateVendorUserRequestUpdated user information

Return type

VendorUserResponse

Authorization

JwtAuthScheme

HTTP request headers

  • Content-Type: application/json; charset=utf-8
  • Accept: application/json; charset=utf-8