curl --request GET \
--url https://api.passentry.com/api/v1/entities \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "0d10c850",
"type": "entity",
"attributes": {
"name": "PassEntry Fitness Centre",
"passDeeplinks": {
"apple": "shoebox://pass/pass.com.test.test/{PASSENTRY_PASS_UUID}",
"google": "https://pay.google.com/gp/v/object/3388000000022258457.{PASSENTRY_PASS_UUID}"
}
}
},
{
"id": "0d10c84f",
"type": "entity",
"attributes": {
"name": "PassEntry Coffee",
"passDeeplinks": {
"apple": "shoebox://pass/pass.com.test.test/{PASSENTRY_PASS_UUID}",
"google": "https://pay.google.com/gp/v/object/3388000000022258457.{PASSENTRY_PASS_UUID}"
}
}
},
{
"id": "0d10c84e",
"type": "entity",
"attributes": {
"name": "PassEntry Supermarket",
"passDeeplinks": {
"apple": "shoebox://pass/pass.com.test.test/{PASSENTRY_PASS_UUID}",
"google": "https://pay.google.com/gp/v/object/3388000000022258457.{PASSENTRY_PASS_UUID}"
}
}
}
],
"meta": {
"totalCount": 3,
"resultsPerPage": 25,
"currentPage": 1,
"totalPages": 1
},
"links": {
"first": null,
"prev": null,
"next": null,
"last": null
}
}
Lists all entities
curl --request GET \
--url https://api.passentry.com/api/v1/entities \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "0d10c850",
"type": "entity",
"attributes": {
"name": "PassEntry Fitness Centre",
"passDeeplinks": {
"apple": "shoebox://pass/pass.com.test.test/{PASSENTRY_PASS_UUID}",
"google": "https://pay.google.com/gp/v/object/3388000000022258457.{PASSENTRY_PASS_UUID}"
}
}
},
{
"id": "0d10c84f",
"type": "entity",
"attributes": {
"name": "PassEntry Coffee",
"passDeeplinks": {
"apple": "shoebox://pass/pass.com.test.test/{PASSENTRY_PASS_UUID}",
"google": "https://pay.google.com/gp/v/object/3388000000022258457.{PASSENTRY_PASS_UUID}"
}
}
},
{
"id": "0d10c84e",
"type": "entity",
"attributes": {
"name": "PassEntry Supermarket",
"passDeeplinks": {
"apple": "shoebox://pass/pass.com.test.test/{PASSENTRY_PASS_UUID}",
"google": "https://pay.google.com/gp/v/object/3388000000022258457.{PASSENTRY_PASS_UUID}"
}
}
}
],
"meta": {
"totalCount": 3,
"resultsPerPage": 25,
"currentPage": 1,
"totalPages": 1
},
"links": {
"first": null,
"prev": null,
"next": null,
"last": null
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful
The response is of type object
.
Was this page helpful?