Import Suppressed Email (REST API)

Method Objective

The method allows importing audiences both in the general list and in a separate segment.

Request

EndpointRequest TypeContent-TypeRate LimitMax Data Size
https://api.personaclick.com/import/suppressedPOSTapplication/json40 requests/minute32 MB/request

Parameters

NameTypeRequirementDescription
shop_idstringrequiredUnique Store Key in PersonaClick. Located there: Account > Settings > Store Settings
shop_secretstringrequiredStore Secret Key in PersonaClick. Located there: Account > Settings > Store Settings
audienceArrayrequiredObject array with the imported emails. See the description below.

Audience Object

Main parameters

Name

Type

Description

email  

string

User Email

API Response Code

HTTP status code

Description
200 OK

The request was successful.

400 Bad RequestUnsuccessful authorization.

Request Example

curl 'https://api.personaclick.com/import/suppressed' \
  -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"}
  ]
}

Copyright 2018-2024 PersonaClick