Countries

πŸ“˜

GET https://api.kayzen.io/api/v1/meta/countries

Returns a list of country names and country id's. If no specific search query is specified, returns all countries.

Field

Param

Required/ Optional

Description

q

string

optional

Search query parameter. Returns result for a specific country. If no value is specified, then all countries data will be returned

per_page

int

optional

Number of rows per page. Default Value- 30 entries

page

int

optional

Returns page number.Default Value- 1 page

curl -X GET \
'https://api.kayzen.io/v1/meta/countries?page=1&per_page=25&q=germ' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer ACCESS_TOKEN'
{  
   "data":[  
      {  
         "id":93,
         "name":"Germany"
      }
   ],
   "meta":{  
      "current_page":1,
      "total_pages":1,
      "total_entries":1
   }
}