Retrieve a country
GET/v1/countries/{code}
Parameters
| Name | In | Description |
|---|---|---|
| coderequired | path | ISO 3166-1 alpha-2, case-insensitive. |
Example
curl https://api.woyra.io/v1/countries/ETResponse
200 The country.
| Field | Type | Description |
|---|---|---|
| object | "country" | |
| code | string | |
| name | string | |
| endpoint | string | This country's API and console entry point. |
| currency | string | Default billing currency for accounts created on this endpoint. |
| dialling_code | string | |
| region | string | Where personal data for this country must live. One of global, ethiopia. |
| region_description | string | |
| compliance | CountryCompliance | What this country requires of traffic sent into it. |
Errors
| Status | Codes |
|---|---|
| 404 | not_found, product_not_offered |
Also in Countries
- GET /v1/products — What this deployment sells
- GET /v1/countries — List country endpoints
- GET /v1/status — Whether Woyra is working