Community Discussion
API credentials with access to create and auto-update audiences in Taboola
Hello!
We need to receive APO credentials with access to create and auto-update audiences. API credentials that we have now does not allow us to do this.
More information:
- Request for audience creation:
curl --request POST
--url https://backstage.taboola.com/backstage/api/1.0/socialtechgentenox-gentenox-sc/audience_onboarding/create
--header 'authorization: Bearer '
--header 'accept: application/json'
--header 'content-type: application/json'
--data '
{
"audience_name": "test_first_party_audience",
"ttl_in_hours": 99999999999
}
'
1.1. Answer for this request that we receive:
{
"http_status": 400,
"message": "Bad request",
"message_code": "api.action.bad_request.null"
}
- Request for update of already created audience in Taboola account:
curl --request POST
--url https://backstage.taboola.com/backstage/api/1.0/socialtechgentenox-gentenox-sc/audience_onboarding
--header 'authorization: Bearer '
--header 'accept: application/json'
--header 'content-type: application/json'
--data '
{
"operation": "ADD",
"audience_id": 30848153,
"identities": [
{
"cluster": [
{
"user_id": "73062d872926c2a556f17b36f50e328ddf9bff9d403939bd14b6c3b7f5a33fc2",
"type": "EMAIL_ID",
"is_hashed": true
}
]
}
]
}
'
2.1. Answer for this request that we receive:
{
"http_status": 400,
"message": "Invalid value '30848153'",
"offending_field": "audience_id",
"message_code": "api.action.bad_request.invalid_value.audience_id"
}
Could you please help with this?
Account name: Social Tech (Gentenox) - Network