Authorizations
Path Parameters
Body
- Segment-based targeting
- Recipient-based targeting
Create a new wallet messaging batch using segments, recipients, or a CSV file (via multipart/form-data).
For more details, see the Wallet Messaging documentation.
curl --request POST \
--url https://api.passentry.com/api/v1/entities/{id}/messaging/wallet \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"batch": {
"message": "Hello, World!",
"segments": [
{
"groupTag": "summerPromotion"
}
],
"scheduledAt": "2030-03-31T13:16:26Z"
}
}'{
"data": {
"id": "d29455c9-afe4-4c73-b946-a5ea0b1667f7",
"type": "walletMessaging",
"attributes": {
"name": "Summer Promotion 01/06/2025",
"status": "validating",
"tag": null,
"content": "Hello, World!",
"scheduledAt": "2030-03-31T13:16:26Z"
}
},
"links": {
"self": "https://api.passentry.com/api/v1/batches/d29455c9-afe4-4c73-b946-a5ea0b1667f7"
}
}Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.passentry.com/api/v1/entities/{id}/messaging/wallet \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"batch": {
"message": "Hello, World!",
"segments": [
{
"groupTag": "summerPromotion"
}
],
"scheduledAt": "2030-03-31T13:16:26Z"
}
}'{
"data": {
"id": "d29455c9-afe4-4c73-b946-a5ea0b1667f7",
"type": "walletMessaging",
"attributes": {
"name": "Summer Promotion 01/06/2025",
"status": "validating",
"tag": null,
"content": "Hello, World!",
"scheduledAt": "2030-03-31T13:16:26Z"
}
},
"links": {
"self": "https://api.passentry.com/api/v1/batches/d29455c9-afe4-4c73-b946-a5ea0b1667f7"
}
}