Get Country

GET https://{{host}}/v3/countries/:id

Returns a country for a given country ID number. Note that a unique identification number is allocated to each country included in the DIDWW coverage.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Content-Typestring
Api-Keystring

RESPONSES

status: OK

{"data":{"id":"e352699c-3764-415b-8946-dd470c1e0ed7","type":"countries","attributes":{"name":"United Kingdom","prefix":"44","iso":"GB"},"relationships":{"regions":{"links":{"self":"https://api.didww.com/v3/countries/e352699c-3764-415b-8946-dd470c1e0ed7/relationships/regions","related":"https://api.didww.com/v3/countries/e352699c-3764-415b-8946-dd470c1e0ed7/regions"}}}},"meta":{"api_version":"2022-05-10"}}