- Create powerful apps with Jicoo's API
- Quick start
- Authentication
- Errors
- Versioning
- Types
- API Reference Overview
- Guide
- Guide(Japanese)
- API Reference
- Jicoo API
- Webhook Schema
- Booking
- Schedule
- Availability
- Oraganization
- Event Types
List Event Type Hosts
GET
/v1/event_type_hosts
Request
Authorization
Add parameter in header
X-Jicoo-Api-Key
Example:
X-Jicoo-Api-Key: ********************
Query Params
page
number
optional
perPage
number
optional
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 GET '/v1/event_type_hosts?page&perPage' \
--header 'X-Jicoo-Api-Key;'
Responses
🟢200Success
application/json
Body
data
array [object {2}]
required
eventType
object (EventType)
required
hosts
array[object (Host) {8}]
required
totalCount
integer
required
count
integer
required
currentPage
integer
required
nextPage
integer
optional
numberOfPages
integer
required
Example
{
"data": [
{
"eventType": {
"uid": "string",
"slug": "string",
"name": "string",
"description": "string",
"coverImage": "string",
"color": "string",
"duration": 1,
"status": "enable",
"internalNote": "string",
"locations": [
{
"locationId": "inPerson"
}
],
"questions": [
{
"uid": "string",
"choices": [
{
"uid": "string",
"value": "string"
}
],
"content": "string",
"isRequired": true,
"workflowType": "text",
"hasOtherChoice": true
}
],
"services": [
{
"id": 0,
"name": "string",
"description": "string",
"coverImage": "string",
"isRequired": true,
"isShowPrice": true,
"price": {
"currency": "jpy",
"unitAmount": 0,
"taxInclusive": "exclusive",
"taxPercentage": 0
},
"sort": 0
}
],
"paymentMethods": [
{
"methodType": "none"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
},
"hosts": [
{
"uid": "string",
"name": "string",
"email": "user@example.com",
"profileImage": "string",
"role": "admin",
"priority": 0,
"userType": "host",
"sort": 0
}
]
}
],
"totalCount": 0,
"count": 0,
"currentPage": 0,
"nextPage": 0,
"numberOfPages": 0
}