This documentation is still a work in progress. Please contact Support to register for early access.
https://api.portierx.com/api/{version}/{service}/{method}
GET https://api.portierx.com/api/v1/access-control-systems/overview
References
section. The API is designed to be simple and easy to use. You can make requests directly on the documentation or using any HTTP client, such as curl
, Postman
, or your favorite programming language.send
button, you will see the response data right below the request.data
field as an object. The response will look like this:{
"msg": "Retrieved item successfully",
"data": {
"id": "1",
"name": "John Doe",
"age": 30,
"is_active": true,
"created_at": "2024-01-01"
}
}
data
field as an array. Additionally, it also return a meta for pagination and related information. The response will look like this:{
"msg": "Retrieved item list successfully",
"data": [
{
"id": "1",
"name": "John Doe",
"age": 30,
"is_active": true,
"created_at": "2024-01-01"
}
],
"meta": {
"filters": [
{
"field": "name",
"operator": "neq",
"value": "john"
},
{
"field": "age",
"operator": "eq",
"value": "18"
}
],
"order": [
{
"field": "age",
"direction": "desc",
"nulls": "last"
}
],
"pagination": {
"limit": 100,
"page": 1,
"pages": 1,
"total": 1
},
"select": ["name", "age"]
}
}
{
"msg": "We were unable to authorize your request. Either your key was missing, malformed or does not have the required permissions.",
"error": {
"code": "UNAUTHORIZED",
"docs": "https://docs.portierx.com/docs/api/errors/UNAUTHORIZED",
"req_id": "req_1234567890"
}
}