Country

API endpoints for countries

To fetch all countries using the GET endpoint in Simplio3D OpenAPI, use the /countries endpoint. This request retrieves a list of all available countries in JSON format. Ensure that the request headers include the necessary authentication token if required by the API documentation.

Fetch all countries

get
/api/open-api/v1/countries

Get a list of countries.

Authorizations
AuthorizationstringRequired

Enter token in format (Bearer <your_token>)

Query parameters
order_bystringOptional

Column to order results by (e.g., 'created_at')

Example: created_at
orderstring · enumOptional

Sorting order (asc or desc)

Example: descPossible values:
per_pageintegerOptional

Number of records per page (-1 for all records)

Example: 25
pageintegerOptional

Number of page

Example: 2
Responses
chevron-right
200

Successful response

application/json

Schema for country data

idintegerOptionalExample: 1
namestringOptionalExample: Austria
iso2stringOptionalExample: AT
iso3stringOptionalExample: AUT
phone_codestringOptionalExample: 43
created_atstring · date-timeOptionalExample: 2024-02-25T12:00:00Z
updated_atstring · date-timeOptionalExample: 2024-02-25T12:30:00Z
get
/api/open-api/v1/countries

Last updated