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
      • Delete Event Type Host Assign Rule
        DELETE
      • Update Event Type Host Assign Rule
        PATCH
      • Create Event Type Host Assign Rule
        POST
      • List Event Type Host Assign Rules
        GET
  1. Event Types

Create Event Type Host Assign Rule

Developing
POST
/v1/event_types/{eventTypeId}/host_assign_rules
Creates a new Host Assignment Rule for a specified Event Type.

Request

Authorization
Add parameter in header
X-Jicoo-Api-Key
Example:
X-Jicoo-Api-Key: ********************
Path Params

Body Params application/json

Example
{
    "sort": 0,
    "priority": 0,
    "dailyLimitMinutes": 1,
    "weeklyLimitMinutes": 1,
    "monthlyLimitMinutes": 1,
    "conditions": [
        {
            "entities": [
                {
                    "entityType": "User",
                    "entityId": "string"
                }
            ]
        }
    ]
}

Request Code 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 POST '/v1/event_types//host_assign_rules' \
--header 'X-Jicoo-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sort": 0,
    "priority": 0,
    "dailyLimitMinutes": 1,
    "weeklyLimitMinutes": 1,
    "monthlyLimitMinutes": 1,
    "conditions": [
        {
            "entities": [
                {
                    "entityType": "User",
                    "entityId": "string"
                }
            ]
        }
    ]
}'

Responses

🟢201Created
application/json
Body

Example
{
    "data": {
        "uid": "AAAAAA",
        "sort": 30,
        "priority": 3,
        "dailyLimitMinutes": 200,
        "weeklyLimitMinutes": null,
        "monthlyLimitMinutes": null,
        "conditions": [
            {
                "entities": [
                    {
                        "entityType": "User",
                        "entityId": "xxx"
                    },
                    {
                        "entityType": "User",
                        "entityId": "yyy"
                    }
                ]
            },
            {
                "entities": [
                    {
                        "entityType": "User",
                        "entityId": "xxx"
                    },
                    {
                        "entityType": "User",
                        "entityId": "zzz"
                    },
                    {
                        "entityType": "User",
                        "entityId": "78"
                    }
                ]
            }
        ],
        "createdAt": "2025-10-17T07:04:12.880Z",
        "updatedAt": "2025-10-17T07:04:12.880Z"
    },
    "errors": {}
}
Modified at 2025-10-17 11:00:37
Previous
Update Event Type Host Assign Rule
Next
List Event Type Host Assign Rules
Built with