EndpointDocument
Response Model for Endpoint Document
Last updated
Response Model for Endpoint Document
Last updated
This is the representation of the EndpointDocument
data structure which you receive in the Endpoint API response.
action
must be one of the below items. This can extend in the future to support more actions.
Both getCheckInStatus
and getSpaces
can be registered as POST or GET methods and it is your personal preference to choose which method you like to use. Whether you choose POST or GET the behavior is the same. But you cannot register an action with both methods at the same time.
Property
Type
Required
Description
action
string
Y
token
string
Y
A token provided by you to be sent in all API calls as a query parameter, you can check it to make sure we are calling you
url
string
Y
Your endpoint URL
method
string
Y
The HTTP method. It can be POST or GET
integrationId
string
N
The ID of your integration with Goki.
Action
Method
Description
getCheckInStatus
GET | POST
This is used to get the status of a reservation in the check-in process.
getSpaces
GET | POST
This is used to get the list of your spaces. In Goki staff can manage room mapping using this endpoint.
checkIn
POST
This is used to check-in a reservation. You need to handle the check-in logic in this endpoint.