Medigo inquiries API
The inquiries API from Medigo — 1 operation(s) for inquiries.
The inquiries API from Medigo — 1 operation(s) for inquiries.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/medigo-inquiries-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: 'Welcome to the official documentation for MEDIGO REST API. Your are seeing the documentation for **version 2**, the latest.
[Click here](../v1/) for V1 documentation.
### Debug Info for Reporting Bugs
If you need some support for the API usage or wish to report a bug in MEDIGO API, we include the additional `Trace-Id`
header in every response that you should send along when interacting with MEDIGO support team.
'
version: 2.0.0
title: MEDIGO attachments Inquiries API
contact:
name: the API Support
email: itops@medigo.com
servers:
- url: /v2
tags:
- name: inquiries
paths:
/inquiries:
post:
tags:
- inquiries
summary: Create a new Medical travel inquiry
description: ''
operationId: createInquiry
security:
- partner_token: []
responses:
201:
description: The inquiry was successfully created
content:
application/json:
schema:
$ref: '#/components/schemas/Inquiry'
403:
description: Invalid token
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedApiResponse'
500:
description: Internal Error - contact Medigo IT support
content:
application/json:
schema:
$ref: '#/components/schemas/InternalApiResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Inquiry'
description: New inquiry to be created
components:
schemas:
InternalApiResponse:
type: object
properties:
code:
type: string
example: Internal
message:
type: string
Inquiry:
type: object
required:
- comment
- email
- first_name
- last_name
- sex
- birthdate
- statement
- timeplan
properties:
id:
type: integer
format: int64
readOnly: true
comment:
type: string
description: Basic description of the case
email:
type: string
format: email
description: Contact email
example: john.doe@private.me
first_name:
type: string
description: Patient's first name
example: John
last_name:
type: string
description: Patient's last name
example: Doe
sex:
type: string
description: Patient's sex
enum:
- female
- male
example: male
birthdate:
type: string
format: date-time
description: Patient's date of birth in ISO 8601 format
example: '1989-02-14T00:00:00.000Z'
statement:
type: string
description: 'How far along the patient is in the process of booking treatment:
- *researching* : Looking for general information about the clinic and treatment
- *choosing* : In the process of choosing the right clinic and getting a cost estimate
- *booking* : Ready to book an appointment
'
enum:
- researching
- choosing
- booking
timeplan:
type: string
description: 'Estimation of when the patient would like to have the procedure:
- *7-days* : Within the next 7 days
- *1-month* : Within the next month
- *3-months* : Within the next 3 months
- *3-months-plus* : Sometime later than the next 3 months
'
enum:
- 7-days
- 1-month
- 3-months
- 3-months-plus
language:
type: string
description: Patient's language as a [ISO 639-1 language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes).
example: fr
phone_number:
type: string
description: Patient's phone number
nationality:
type: string
description: Patient's country of citizenship. [3 characters country code](https://www.countrycode.org/) format
custom_fields:
type: object
description: Map of custom fields that you want to add to your request
items:
type: string
example:
my_field_1: hello
my_field_2: world
attachments:
type: array
items:
type: string
format: uuid
description: A list of UUIDs of uploaded files relevant to the case. See [Attachments](#/attachments)
example:
- fdsfds-afsdh-fasd823fdd44jksd
- dsj23o-i83hs-53453gfddjsfsddf
destination:
type: string
description: Prefered destination for the medical travel. [3 characters country code](https://www.countrycode.org/) format
procedures:
type: array
description: List of procedure IDs relevant to the inquiry. See [Searching for procedures](#/search/searchProcedures)
items:
type: integer
format: int64
example:
- 70
- 73
UnauthorizedApiResponse:
type: object
properties:
code:
type: string
example: BadRequest
message:
type: string
securitySchemes:
partner_token:
type: apiKey
in: header
name: Authorization
description: "Authentication done is via an *API token* provided by MEDIGO. The token should be provided as a bearer in the *Authorization* header of every request\nNote that the string *Bearer* followed by a whitespace should be prepended to the token.\nExample:\n\n GET /v2/ HTTP/1.1\n Host: https://api.medigo.com\n Authorization: Bearer <your-api-token>\n"