Page tree



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

Overview

This API allows you to retrieve the details of a connection type for a specific Id.

Request

         

URIhttp://{domainName}/common/pmconnectionType/{id}
HTTP MethodGET


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

Response Body

                  

Response Body ParameterTypeDescription
idIntegerUnique identifier of the connection type.
nameStringName of the connection type.


Sample Response JSON

{
  "id": 1,
  "name": "Cellular"
}‍‍‍‍‍‍‍‍‍‍‍‍



Error Codes

Error codes specific to this API method.


[

{

   "errorCode": "CC03_0004",

   "error": "Resource not found"

}

]