Versions Compared

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

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

Code Block
languagejs
themeFadeToGrey
curl 'https://api.personaclick.com/import/audience' \
  -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

Table of Contents
maxLevel1

classpersonaclick-fixed-position

indent0px
stylenone




Related Pages

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
cqllabel in ("imports","audience")