Fortinet black logo

online help

Get Country List

Copy Link
Copy Doc ID 58cdf477-b7d4-11ea-8b7d-00505692583a:445304

Get Country List

Description

Get the list of countries

URL

/api/v1/country/list

Method: GET

Request Header

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCWP
Content-Type application/json String

Sample Request

Request URL

GET https://www.forticwp.com/api/v1/country/list

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Response Variable

Name

Type

Description

id String country code
country String country name

Sample Response

[

{

"id":"AU",

"country":"Australia"

},

{

"id":"CN",

"country":"China"

},

{

"id":"DE",

"country":"Germany"

},

{

"id":"ES",

"country":"Spain"

},

{

"id":"JP",

"country":"Japan"

},

{

"id":"US",

"country":"United States of America"

},

]

Get Country List

Description

Get the list of countries

URL

/api/v1/country/list

Method: GET

Request Header

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCWP
Content-Type application/json String

Sample Request

Request URL

GET https://www.forticwp.com/api/v1/country/list

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Response Variable

Name

Type

Description

id String country code
country String country name

Sample Response

[

{

"id":"AU",

"country":"Australia"

},

{

"id":"CN",

"country":"China"

},

{

"id":"DE",

"country":"Germany"

},

{

"id":"ES",

"country":"Spain"

},

{

"id":"JP",

"country":"Japan"

},

{

"id":"US",

"country":"United States of America"

},

]