curl --request POST \
--url https://api.interchange.io/api/v2/identity-match/targeting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"after": "2026-05-13T10:42:43.123Z"
}
'import requests
url = "https://api.interchange.io/api/v2/identity-match/targeting"
payload = { "after": "2026-05-13T10:42:43.123Z" }
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({after: '2026-05-13T10:42:43.123Z'})
};
fetch('https://api.interchange.io/api/v2/identity-match/targeting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"lastUpdatedAt": "2023-11-07T05:31:56Z",
"targetingConfigs": [
{
"sellerAgentUrl": "<string>",
"packageId": "<string>",
"targetSegments": {
"allOf": [
"<string>"
],
"anyOf": [
"<string>"
],
"noneOf": [
"<string>"
]
}
}
],
"removedTargetingConfigs": [
{
"sellerAgentUrl": "<string>",
"packageId": "<string>"
}
],
"truncated": true
}{
"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": {}
}
}List identity-match targeting configs
Return the per-package targeting configuration for every package available to the calling token — one targetingConfigs entry per (sellerAgentUrl, packageId) pair. When after is supplied, the response is a delta: targetingConfigs carries entries whose package or media-buy was created or updated since that instant, and removedTargetingConfigs carries the (sellerAgentUrl, packageId) pairs whose targeting was archived. lastUpdatedAt advances the cursor — the caller feeds it back as the next after. truncated: true signals the response was capped and the caller has not seen the full delta; poll again with the same after when the underlying source recovers. Response is raw JSON — not wrapped in the standard {data, error, meta} envelope — so identity-match clients can decode straight into their wire types.
curl --request POST \
--url https://api.interchange.io/api/v2/identity-match/targeting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"after": "2026-05-13T10:42:43.123Z"
}
'import requests
url = "https://api.interchange.io/api/v2/identity-match/targeting"
payload = { "after": "2026-05-13T10:42:43.123Z" }
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({after: '2026-05-13T10:42:43.123Z'})
};
fetch('https://api.interchange.io/api/v2/identity-match/targeting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"lastUpdatedAt": "2023-11-07T05:31:56Z",
"targetingConfigs": [
{
"sellerAgentUrl": "<string>",
"packageId": "<string>",
"targetSegments": {
"allOf": [
"<string>"
],
"anyOf": [
"<string>"
],
"noneOf": [
"<string>"
]
}
}
],
"removedTargetingConfigs": [
{
"sellerAgentUrl": "<string>",
"packageId": "<string>"
}
],
"truncated": true
}{
"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
Body
Return only configs updated after this ISO-8601 instant. When omitted, the full active set is returned.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$"2026-05-13T10:42:43.123Z"
Response
List identity-match targeting configs
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$Show child attributes
Show child attributes
Show child attributes
Show child attributes