Skip to content

Default Values

Operations

Retrieve a list of countries

Request

Retrieve a list of country names to be used in association with user accounts, events, hosts, etc.

Security
SessionKey(Required scopes: publiccustomeradministrator)
curl -i -X GET \
  https://docs.ticketingevents.com/_mock/openapi/countries \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

The list of country names was successfully retrieved.

Bodyapplication/json
selfstring, (uri)

URI of the country list resource

countriesArray of strings

List of country names

Response
{ "self": "/countries", "countries": [ "Afghanistan", "Albania", "Algeria", "Andorra", "Angola", "Antigua And Barbuda", "Argentina", "Armenia", "Australia", "Austria", "Azerbaijan", "Bahamas", "..." ] }