You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Retrieving a List of Browser Languages

Before using PubMatic APIs, first generate the API Token. For more information, refer to Getting Started with PubMatic APIs


This API allows you to retrieve the list of browser languages present in the PubMatic system.




Request Headers


Header NameTypeValueRequiredDescription
AuthorizationStringBearer ${access_token}YesNeed to send the access token generating for authentication at the place of ${access_token}.
For more information about access tokens, refer to Getting Started with PubMatic APIs.


Response Body Parameters


Parameter NameTypeDescription
idIntegerUnique ID of the browser language.
nameStringName of the browser language.


Sample Response JSON


           "metaData": {

                           "startIndex": 1,

                           "totalRecords": 121,

                           "endIndex": 100


           "items": [{

                           "id": 1,

                           "name": "Afrikaans"

                }, {

                                "id": 2,

                                "name": "Aragonese"

                }, {

                                "id": 3,

                                "name": "Arabic"

                }, {

                                "id": 4,

                                "name": "Assamese"

                }, {

                                "id": 5,

                                "name": "Asturian"

                }, {

                                "id": 6,

                                "name": "Azerbaijani"

                }, {

                                "id": 7,

                                "name": "Belarusian"

                }, {

                                "id": 8,

                                "name": "Bulgarian"

                }, {

                                "id": 9,

                                "name": "Bengali"



Error Codes

   "errorCode": "CC03_0004",
   "error": "Resource not found"

⇧ Top

Do you have feedback on this document? Let us know: email us.

Table of Contents