List Event Type Hosts
GET
/v1/event_type_hostsThis API endpoint retrieves a list of event types along with their associated hosts. It provides comprehensive details about each event type, including its unique identifier, name, description, visual elements like cover image and color, duration, and status. The endpoint also returns information about the any questions that attendees need to answer, available services with pricing details, and accepted payment methods.
Request
Query Params
page
number
optional
perPage
number
optional
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {2}]
required
eventType
object (EventType)
required
hosts
array[object (Host) {7}]
required
totalCount
integer
required
total count
count
integer
required
current count
currentPage
integer
required
current page
nextPage
integer
optional
next page
numberOfPages
integer
required
number of pages
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:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"hosts": [
{
"uid": "string",
"name": "string",
"email": "user@example.com",
"profileImage": "string",
"role": "admin",
"priority": 0,
"userType": "host"
}
]
}
],
"totalCount": 0,
"count": 0,
"currentPage": 0,
"nextPage": 0,
"numberOfPages": 0
}
Last modified: 6 months ago