Entities
List Entities
Entities
List Entities
Lists all entities
GET
/
api
/
v1
/
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
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
Successful
Example:
"entity"
Name of the entity
Path to first page, null if currentPage is first page
Path to prev page, null if currentPage is first page
Path to next page, null if currentPage is last page
Path to last page, null if currentPage is last page
Was this page helpful?
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
}
}