Resource: Public
Create
Gültige User-Session notwendig: Nein
Public Create Permissions sind per Standard aktiviert
Request Syntax
POST /collect/:collect_token
Request curl
curl \
-H 'Accept-Version: ~1' \
-H 'Content-Type: application/json' \ -X POST \
-d '{"email":"sample@juneapp.com", "_tags":"automated_import"}' \
https://engagement.juneapp.com/collect/:collect_token
Response Codes
200 OK
500 Server Error
Response Model
{
"_id": <string>,
"data": { Object List Data },
"created_at": <number>,
"version": <number>,
"metrics": {
"activity": { Statistics Data },
"tags": [<string>],
"score": <number>,
"geo_continent":<string>,
"geo_country": <string>,
"geo_city": <string>,
}
}
Get
Gültige User-Session notwendig: Nein
Public Read Permissions müssen aktiviert werden
Request Syntax
GET /collect/public/:collect_token/:selector/:value
Request curl
curl \
-H 'Accept-Version: ~1' \
-H 'Content-Type: application/json' \ -X GET \
https://engagement.juneapp.com/collect/public/:collect_token/:selector/:value
Response Codes
200 OK
500 Server Error
Response Model
{
"_id": <string>,
"data": { Object List Data },
"created_at": <number>,
"version": <number>,
"metrics": {
"activity": { Statistics Data },
"tags": [<string>],
"score": <number>,
"geo_continent":<string>,
"geo_country": <string>,
"geo_city": <string>,
}
}
Resource: Private
Create
Gültige User-Session notwendig: Ja
Request Syntax
POST /collect/private/:collect_token
Request curl
curl \
-H "Authorization: Bearer ### API Token ### \
-H 'Accept-Version: ~1' \
-H 'Content-Type: application/json' \ -X POST \
-d '{"email":"sample@juneapp.com, "_tags":"automated_import"}' \
https://engagement.juneapp.com/collect/private/:collect_token
Response Code
200 OK
406 Unprocessable Entity
410 Gone
500 Server Error
Response Model
{
"_id": <string>,
"data": { Object List Data },
"created_at": <number>,
"version": <number>,
"metrics": {
"activity": { Statistics Data },
"tags": [<string>],
"score": <number>,
"geo_continent":<string>,
"geo_country": <string>,
"geo_city": <string>,
}
}
Get
Gültige User-Session notwendig: Ja
Request Syntax
GET /collect/:collect_token/:collect_id
Request curl
curl \
-H "Authorization: Bearer ### API Token ### \
-H 'Accept-Version: ~1' \
-H 'Content-Type: application/json' \ -X GET \
https://engagement.juneapp.com/collect/:collect_token/:collect_id
Response Codes
200 OK
500 Server Error
Response Model
{
"_id": <string>,
"data": { Object List Data },
"created_at": <number>,
"version": <number>,
"metrics": {
"activity": { Statistics Data },
"tags": [<string>],
"score": <number>,
"geo_continent":<string>,
"geo_country": <string>,
"geo_city": <string>,
}
}
Update
Gültige User-Session notwendig: Ja
Request Syntax
PUT /collect/:collect_token/:collect_id
Request curl
curl \
-H "Authorization: Bearer ### API Token ### \
-H 'Accept-Version: ~1' \
-H 'Content-Type: application/json' \ -X PUT \
-d '{"email":"sample@juneapp.com"}' \
https://engagement.juneapp.com/collect/public/:collect_token/:collect_id
Response Codes
200 OK
500 Server Error
Response Model
{
"_id": <string>,
"data": { Object List Data }
"created_at": <number>,
"version": <number>,
"metrics": {
"activity": { Statistics Data }
"score": <number>,
"geo_continent":<string>,
"geo_country": <string>,
"geo_city": <string>,
}
}
Delete
Gültige User-Session notwendig: Ja
Request Syntax
DELETE /collect/:collect_token/:collect_id
Request Model
curl \
-H "Authorization: Bearer ### API Token ### \
-H 'Accept-Version: ~1' \
-H 'Content-Type: application/json' \ -X DEL \
https://engagement.juneapp.com/collect/:collect_token/:collect_id
Response Codes
200 OK
500 Server Error
Response Model
- kein -
🧑💻 Kontakt & Unterstützung
Du benötigst Hilfe beim Einrichten einer Integration? Unsere Developer sind gerne für dich da. Buche dir hier einen passenden Termin.