For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Overview Agent Access Ads ChatGPT + Codex user docs Use cases

API Reference

Post Product Feed Sftp Access

POST
/feeds/{feed_id}/sftp_access

Create or replace SFTP access credentials for an authenticated ad account product feed.

Post Product Feed Sftp Access

curl https://api.ads.openai.com/v1/feeds/$FEED_ID/sftp_access \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $OPENAI_ADS_API_KEY" \
    -d '{
          "authentication_method": "password"
        }'
200 — Example
{
  "authentication_method": "password",
  "connection_uri": "connection_uri",
  "enabled": true,
  "password": "password"
}
Path Parameters
feed_id: string
Body Parameters
JSON
authentication_method: "password" or "ssh_key"
One of the following:
"password"
"ssh_key"
ssh_public_key: optional string
Returns
authentication_method: "password" or "ssh_key"
One of the following:
"password"
"ssh_key"
connection_uri: string
enabled: boolean
password: optional string
Returns Examples
200 — Example
{
  "authentication_method": "password",
  "connection_uri": "connection_uri",
  "enabled": true,
  "password": "password"
}