View Ssp settings

View Ssp settings

GET https://api.ocamba.com/v2/adex/ssp/settings
Display SSP (Supply Side Platform) Settings

Response schemas

curl -X GET \
 "https://api.ocamba.com/v2/adex/ssp/settings" \
  -H "Authorization: Bearer {TOKEN}"
const url = 'https://api.ocamba.com/v2/adex/ssp/settings';
const options = {
  method: 'GET',
  headers: {
    Authorization: `Bearer {TOKEN}`
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
$ch = curl_init("https://api.ocamba.com/v2/adex/ssp/settings");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  "Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);

Responses

200 OK

{
  "company_id": "6197120",
  "general": {
    "domain": "example.com",
    "automatic_approval": {
      "advertiser": true,
      "publisher": false
    }
  },
  "appearance": {
    "logo": "https://dev-example.com/path/to/logo.jpg",
    "theme": [
      "dark",
      "light"
    ]
  },
  "notifications": {
    "recipients": [
      "[email protected]"
    ],
    "verify": {
      "sender": "[email protected]",
      "subject": "VERIFY",
      "data": {
        "logo": "https://sm.ocmcore.com/share/6197120/adex/media/3768765556-1675085214643-image",
        "support_email": "[email protected]",
        "signature": "Example Team"
      }
    },
    "welcome": {
      "sender": "Example",
      "subject": "WELCOME",
      "data": {
        "logo": "https://sm.ocmcore.com/share/6197120/adex/media/3768765556-1675085214643-image",
        "ssp_name": "Example SSP",
        "support_email": "[email protected]",
        "signature": "Example Team"
      }
    }
  },
  "create_time": "2022-11-21 13:37:51",
  "update_time": "2022-11-23 14:23:47"
}
Responses