Close
API DOCUMENTATION

Embassy contacts API

Table of Contents

Log in

 

Before you start accessing our API you must log in using the credentials provided by Hozint.

You can find the instructions in the Log-in API documentation.

 


 

Embassy Contacts API

 

Description

This API could be used to obtain the embassy contact details.

 

Additionally you can filter the embassy contact details based on Origin Country or its ISO2 and embassy country or its ISO2.

 

No URL parameters required.

 

Endpoint

GET /api/risk-assessment/embassy-contacts/

 

Request

curl -X ‘GET’ \

  ‘https://admin.hozint.ai/api/risk-assessment/embassy-contacts/’ \

  -H ‘accept: application/json’ \

  -H ‘Authorization: Bearer YOUR_ACCESS_TOKEN’

 

Data Returned by Embassy Contacts API

  • id: Unique identifier for the embassy contact entry.
  • residing_country: Country where the embassy is located.
  • embassy_name: Name of the embassy.
  • address: Physical address of the embassy.
  • phone_number: Contact phone number for the embassy.
  • fax_number: Fax number for the embassy.
  • email: Contact email or URL for contacting the embassy.
  • website: Website URL of the embassy.
  • notes: Additional notes or information about the embassy.

 

How to query Embassy Contacts API

You should be logged in by providing the access token .

Then you can execute the Get request and obtain the embassy contact details.

 

Additionally if filtered embassy contact details are needed you can filter them based on the origin country and embassy country.

 

Filter Parameters

 

  1. 1. Origin Country Parameter
    • – Parameter Type: Country Name or the Country ISO2.
    • – Description: Filters embassy contact details by origin country.
  2. 2. Embassy Country Parameter
    • – Parameter Type: Country Name or the Country ISO2.
    • – Description: Filters embassy contact details by the embassy country.