Create Api Key
POST
/api_keysCreate an API key scoped to the selected ad account.
Create Api Key
curl https://api.ads.openai.com/v1/api_keys \
-X POST \
-H "Authorization: Bearer $OPENAI_ADS_API_KEY"200 — Example
{
"api_key": "api_key",
"api_organization_id": "api_organization_id",
"service_account_id": "service_account_id",
"api_key_id": "api_key_id"
}Returns Examples
200 — Example
{
"api_key": "api_key",
"api_organization_id": "api_organization_id",
"service_account_id": "service_account_id",
"api_key_id": "api_key_id"
}