Jicoo Developer Potal
  1. Event Types
Jicoo Developer Potal
  • Create powerful apps with Jicoo's API
  • Quick start
  • Authentication
  • Errors
  • Versioning
  • Types
  • API Reference Overview
  • Guide
    • How to use webhook
    • How to use Account integration
  • Guide(Japanese)
    • アカウント連携の使い方
    • Webhookの使い方
    • ホストの優先度を更新する方法
  • API Reference
    • Jicoo API
    • Webhook Schema
      • Webhook schema
      • event property
      • createdAt property
      • object property
      • contact property
      • answers property
      • answers items property
      • tracking property
    • Booking
      • List Bookings
      • Get Booking
      • Cancel Booking
      • Reschedule Booking
      • Create Booking
      • Update Booking
      • Get Booking Contacts
    • Schedule
      • Update Schedule
      • Create Schedule
      • List Schedules
      • Delete Schedule
    • Availability
      • List User Availability Calendars
      • Get User Availability Calendar
    • Oraganization
      • User
        • List Organization Users
        • Delete Organization User
        • Get Organization User
        • Update Organization User
      • Invitation
        • Create Organiztion Invitation
        • List Organization Invitations
        • Get Organization Invitation
        • Delete Organiztion Invitation
      • Get Organization Team
    • Event Types
      • Get Event Type
        GET
      • List Event Types
        GET
      • List Event Type Hosts
        GET
      • Get Event Type Available Schedules
        GET
      • Account Integration
        POST
      • Update Event Type Host
        PATCH
      • Delete Event Type Host
        DELETE
      • Create Event Type Host
        POST
  1. Event Types

Update Event Type Host

PATCH
/v1/event_types/{eventTypeId}/hosts/{uid}
This API can be used to update information on the host of the event type page, such as round-robin priority settings.

Request

Authorization
Add parameter in header
X-Jicoo-Api-Key
Example:
X-Jicoo-Api-Key: ********************
Path Params
eventTypeId
string 
required
uid
string 
required
Body Params application/json
priority
integer 
optional
Round Robin Priority of the host
>= 0<= 3
Example
{
  "priority": 0
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/v1/event_types//hosts/' \
--header 'Content-Type: application/json' \
--header 'X-Jicoo-Api-Key;' \
--data-raw '{
    "priority": 0
}'

Responses

🟢200Success
application/json
Body
data
object (Host) 
required
uid
string 
required
Unique ID of the host
name
string 
required
Name of the host
email
string <email>
required
Email of the host
profileImage
string  | null 
required
Profile image URL of the host
role
enum<string> 
required
Role of the host
Allowed values:
admineditorviewer
priority
integer 
required
Round Robin Priority of the host
>= 0<= 3
userType
enum<string> 
required
User type of the host
Allowed values:
hostnotifyHost
sort
integer 
required
Sort value of the host
>= 0
Example
{
  "data": {
    "uid": "xxxxxxxxxxxxxxxxxx",
    "name": "Hope Barton",
    "email": "Cielo32@example.com",
    "profileImage": "https://example.com/400/400?lock=7579415894002067",
    "role": "editor",
    "priority": 3,
    "userType": "notifyHost",
    "sort": 1
  }
}
Previous
Account Integration
Next
Delete Event Type Host
Built with