Introduction
Last updated
Last updated
You can use Swagger or Postman to make the calls and test the APIs. Please make sure you are using the right environment as explained in Getting Started. If you are building a marketplace app, your app should be approved and live in the staging or production environments before you can test it.
If your app is not live (you cannot see it in the marketplace) you can contact support@goki.travel.
Make sure you have got the correct credentials and they are included in the request's header. All API calls need to have the header set.
For simplicity, we have removed all the authentication headers in this documentation. And they are explained in the Credentials section.
All error responses are following the below structure:
There are some errors that are common between all APIs.
When your provided authentication tokens are wrong, you will get the following error
When your provided data is wrong (you missed a required field or type of a field is not match with what the API expects) you will get a validation error.
Property
Type
Description
code
number
title
string
Title of the occurred error.
message
string
A message which describes why the error has happened.
status
number
HTTP status code.
reason
string
Reason of the error (optional).