Country List
Get a list of countries
HTTP Request
[GET] /api/v6/configs/countries
Query Parameters
Fields
Fields | Type | Description |
---|---|---|
id | integer | Identifier |
country_code | integer | Country code |
country_name | string | Country name |
order | integer | Priority order |
international_name | string | International name |
Filtering
Fields | Support | Type | Description |
---|---|---|---|
id | eq,in | integer | Identifier |
valid | eq | integer | Valid or not |
Limit & Offset
Type | Description | |
---|---|---|
Limit | integer | Number of records to retrieve |
Offset | integer | Number of records to skip |
Example
HTTP Request
GET api/v6/configs/countries?fields=country_name&limit=1&offset=1 HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json
Status
200 OK
Response
{
"data": [
{
"id": 2,
"country_name": "Vietnam",
}
],
"has_more": true,
"offset": 1,
"limited": 1
}