curl --request GET \
--url "https://v1-api.ticket-plus.app/employees?page=1&perPage=10" \
--header "Authorization: Basic <base64(clientId:clientSecret)>"
import requests
import base64
credentials = base64.b64encode(b"<clientId>:<clientSecret>").decode()
res = requests.get(
"https://v1-api.ticket-plus.app/employees",
params={"page": 1, "perPage": 10},
headers={"Authorization": f"Basic {credentials}"},
)
print(res.json())
const credentials = Buffer.from("<clientId>:<clientSecret>").toString("base64");
const res = await fetch(
"https://v1-api.ticket-plus.app/employees?page=1&perPage=10",
{ headers: { Authorization: `Basic ${credentials}` } }
);
console.log(await res.json());
{
"data": {
"data": [
{
"id": 42,
"firstName": "Anna",
"lastName": "Müller",
"email": "anna.mueller@example.com",
"dateOfBirth": "1990-04-15",
"profileImage": null,
"resource": "employee",
"subscription": {
"status": "active",
"startAt": "2024-01-01",
"nextTicketAt": "2024-06-01",
"pausedAt": null,
"cancelledAt": null,
"reactivatedAt": null
},
"plan": {
"type": "fully-subsidized-plan",
"contractSigningStatus": "accepted",
"employeeContributionAmount": null
},
"ticket": {
"ticketId": "tkt_9Xk2mPqL",
"ticketMonth": "2024-05",
"validFrom": "2024-05-01",
"validUntil": "2024-05-31",
"links": {
"apple": "https://wallet.example.com/apple/tkt_9Xk2mPqL",
"google": "https://wallet.example.com/google/tkt_9Xk2mPqL"
}
},
"hrIntergartionLinks": [],
"_links": {
"self": { "href": "https://v1-api.ticket-plus.app/employees/42", "type": "application/json" },
"employeeDocuments": { "href": "https://v1-api.ticket-plus.app/employees/42/documents", "type": "application/json" }
}
}
],
"page": 1,
"perPage": 10,
"totalPages": 5,
"total": 47
}
}
List Employees
Retrieve a paginated, filterable list of all employees in your company.
curl --request GET \
--url "https://v1-api.ticket-plus.app/employees?page=1&perPage=10" \
--header "Authorization: Basic <base64(clientId:clientSecret)>"
import requests
import base64
credentials = base64.b64encode(b"<clientId>:<clientSecret>").decode()
res = requests.get(
"https://v1-api.ticket-plus.app/employees",
params={"page": 1, "perPage": 10},
headers={"Authorization": f"Basic {credentials}"},
)
print(res.json())
const credentials = Buffer.from("<clientId>:<clientSecret>").toString("base64");
const res = await fetch(
"https://v1-api.ticket-plus.app/employees?page=1&perPage=10",
{ headers: { Authorization: `Basic ${credentials}` } }
);
console.log(await res.json());
{
"data": {
"data": [
{
"id": 42,
"firstName": "Anna",
"lastName": "Müller",
"email": "anna.mueller@example.com",
"dateOfBirth": "1990-04-15",
"profileImage": null,
"resource": "employee",
"subscription": {
"status": "active",
"startAt": "2024-01-01",
"nextTicketAt": "2024-06-01",
"pausedAt": null,
"cancelledAt": null,
"reactivatedAt": null
},
"plan": {
"type": "fully-subsidized-plan",
"contractSigningStatus": "accepted",
"employeeContributionAmount": null
},
"ticket": {
"ticketId": "tkt_9Xk2mPqL",
"ticketMonth": "2024-05",
"validFrom": "2024-05-01",
"validUntil": "2024-05-31",
"links": {
"apple": "https://wallet.example.com/apple/tkt_9Xk2mPqL",
"google": "https://wallet.example.com/google/tkt_9Xk2mPqL"
}
},
"hrIntergartionLinks": [],
"_links": {
"self": { "href": "https://v1-api.ticket-plus.app/employees/42", "type": "application/json" },
"employeeDocuments": { "href": "https://v1-api.ticket-plus.app/employees/42/documents", "type": "application/json" }
}
}
],
"page": 1,
"perPage": 10,
"totalPages": 5,
"total": 47
}
}
curl --request GET \
--url "https://v1-api.ticket-plus.app/employees?page=1&perPage=10" \
--header "Authorization: Basic <base64(clientId:clientSecret)>"
import requests
import base64
credentials = base64.b64encode(b"<clientId>:<clientSecret>").decode()
res = requests.get(
"https://v1-api.ticket-plus.app/employees",
params={"page": 1, "perPage": 10},
headers={"Authorization": f"Basic {credentials}"},
)
print(res.json())
const credentials = Buffer.from("<clientId>:<clientSecret>").toString("base64");
const res = await fetch(
"https://v1-api.ticket-plus.app/employees?page=1&perPage=10",
{ headers: { Authorization: `Basic ${credentials}` } }
);
console.log(await res.json());
{
"data": {
"data": [
{
"id": 42,
"firstName": "Anna",
"lastName": "Müller",
"email": "anna.mueller@example.com",
"dateOfBirth": "1990-04-15",
"profileImage": null,
"resource": "employee",
"subscription": {
"status": "active",
"startAt": "2024-01-01",
"nextTicketAt": "2024-06-01",
"pausedAt": null,
"cancelledAt": null,
"reactivatedAt": null
},
"plan": {
"type": "fully-subsidized-plan",
"contractSigningStatus": "accepted",
"employeeContributionAmount": null
},
"ticket": {
"ticketId": "tkt_9Xk2mPqL",
"ticketMonth": "2024-05",
"validFrom": "2024-05-01",
"validUntil": "2024-05-31",
"links": {
"apple": "https://wallet.example.com/apple/tkt_9Xk2mPqL",
"google": "https://wallet.example.com/google/tkt_9Xk2mPqL"
}
},
"hrIntergartionLinks": [],
"_links": {
"self": { "href": "https://v1-api.ticket-plus.app/employees/42", "type": "application/json" },
"employeeDocuments": { "href": "https://v1-api.ticket-plus.app/employees/42/documents", "type": "application/json" }
}
}
],
"page": 1,
"perPage": 10,
"totalPages": 5,
"total": 47
}
}
Query Parameters
1.100.asc, desc.id, createdAt, updatedAt.no-subscription, scheduled, active, scheduled-pause, paused, scheduled-cancellation, cancelled.fully-subsidized-plan, deferred-plan, split-pay-plan.Response
Show properties
Show properties
Show employee object
Show employee object
null if not set.null if not set."employee".Show properties
Show properties
no-subscription, scheduled, active, scheduled-pause, paused, scheduled-cancellation, cancelled.null if not yet started.null if not applicable.null if never paused.null if not cancelled.null if never reactivated.Show properties
Show properties
fully-subsidized-plan, deferred-plan, split-pay-plan.pending, accepted, rejected. null if no contract applies.null if no ticket has been issued yet.Show properties
Show properties
"2024-05".Show hr link object
Show hr link object
custom (manually linked), hr-integration (synced via an HR integration).null for custom links.null if never synced.null if never synced.Authorizations
HTTP Basic Auth using your API key credentials. Use the username and password issued from the Developer Portal. Encode them as Base64(username:password) and pass in the Authorization: Basic <token> header.
Query Parameters
Full-text search across employee names and email addresses.
Page number to return. Starts at 1.
x >= 0Number of results per page. Maximum is 100.
0 <= x <= 100Sort direction — asc for ascending, desc for descending.
asc, desc Field to sort results by.
id, createdAt, updatedAt Filter to a specific set of employee IDs.
x >= 0Filter to specific employee email addresses.
Filter by subscription status. Accepted values: no-subscription, cancelled, scheduled-cancellation, active, scheduled, scheduled-pause, paused.
no-subscription, cancelled, scheduled-cancellation, active, scheduled, scheduled-pause, paused Filter by plan type. Accepted values: fully-subsidized-plan, deferred-plan, split-pay-plan.
fully-subsidized-plan, deferred-plan, split-pay-plan Response
A paginated list of employees.
Show child attributes
Show child attributes

