Open the creative-intent picker for an advertiser
curl --request POST \
--url https://api.interchange.io/api/v2/buyer/advertisers/{advertiserId}/creative-intent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.interchange.io/api/v2/buyer/advertisers/{advertiserId}/creative-intent"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.interchange.io/api/v2/buyer/advertisers/{advertiserId}/creative-intent', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"files": [
{
"file_id": "<string>",
"filename": "<string>",
"media_kind": "image",
"preview_url": "<string>"
}
],
"recent_campaigns": [
{
"campaign_id": "<string>",
"name": "<string>",
"created_label": "<string>"
}
],
"advertiser_name": "<string>",
"advertisers": [
{
"advertiser_id": "<string>",
"name": "<string>"
}
],
"selected_advertiser_id": "<string>",
"saved_as": "<string>",
"collection_id": "<string>",
"skipped_files_notice": "<string>",
"skipped_files": [
"<string>"
]
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Creatives
Open the creative-intent picker for an advertiser
Opens the in-chat “which campaign are these for?” picker. When assets are supplied (the buyer’s upload), they are persisted as advertiser-level creatives up front — so they survive until a campaign is picked in a later turn — and returned in files with their ids. Returns the advertiser, its recent campaigns, and the saved creatives.
POST
/
advertisers
/
{advertiserId}
/
creative-intent
Open the creative-intent picker for an advertiser
curl --request POST \
--url https://api.interchange.io/api/v2/buyer/advertisers/{advertiserId}/creative-intent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.interchange.io/api/v2/buyer/advertisers/{advertiserId}/creative-intent"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.interchange.io/api/v2/buyer/advertisers/{advertiserId}/creative-intent', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"files": [
{
"file_id": "<string>",
"filename": "<string>",
"media_kind": "image",
"preview_url": "<string>"
}
],
"recent_campaigns": [
{
"campaign_id": "<string>",
"name": "<string>",
"created_label": "<string>"
}
],
"advertiser_name": "<string>",
"advertisers": [
{
"advertiser_id": "<string>",
"name": "<string>"
}
],
"selected_advertiser_id": "<string>",
"saved_as": "<string>",
"collection_id": "<string>",
"skipped_files_notice": "<string>",
"skipped_files": [
"<string>"
]
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}Authorizations
API key or access token
Path Parameters
Body
application/json
Response
Open the creative-intent picker for an advertiser