POST
/
api
/
v1
/
entities
/
{id}
/
messaging
/
wallet
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"
  }
}
This endpoint is currently in beta.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Entity ID

Body

Batch
batch
object

Response

202
application/json
Accepted
data
object

Was this page helpful?