Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Method Objective
The method allows importing audiences both in the general list and in a separate segment.
Request
Endpoint | Request Type | Content-Type | Rate Limit | Max Data Size |
---|---|---|---|---|
https://api.personaclick.com/import/suppressed | POST | application/json | 40 requests/minute | 32 MB/request |
Parameters
Name | Type | Requirement | Description |
---|---|---|---|
shop_id | string | required | Unique Store Key in PersonaClick. Located there: Account > Settings > Store Settings |
shop_secret | string | required | Store Secret Key in PersonaClick. Located there: Account > Settings > Store Settings |
audience | Array | required | Object array with the imported emails. See the description below. |
Audience Object
Main parameters
Name | Type | Description |
---|---|---|
string | User Email |
API Response Code
HTTP status code | Description |
---|---|
200 OK | The request was successful. |
400 Bad Request | Unsuccessful authorization. |
Request Example
Code Block | ||||
---|---|---|---|---|
| ||||
curl 'https://api.personaclick.com/import/audiencesuppressed' \ -X 'POST' \ -H 'content-type: application/json' \ --data-binary '@data.json' # data.json { "shop_id": "0d42fd8b713d0752776ca589cc0056", "shop_secret": "0123456789abcdef0123456789abcdef", "audience": [ {"email": "john.doe@examplemail.com"}, {"email": "vasiliy.pupkin@examplemail.com"} ] } |
Column | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Navigation
Related Pages
|