People
People who can hold credentials, with SCIM core field names. Most arrive from the identity provider over SCIM or from a connector, and only that source can change them.
The person model
Someone who can hold credentials: an employee, contractor, resident or
visitor. Passway keeps only what access decisions need. Field names
follow the SCIM core User schema (RFC 7643): display_name, emails
as one email, external_id, user_type and active.
Properties
- Name
id- Type
- string
- Description
Person ID.
- Name
etag- Type
- string
- Description
Current version.
- Name
display_name- Type
- string
- Description
Name to show in the console, audit log and wallet pass.
- Name
email- Type
- string
- Description
Work email, used to send enrolment links. Can be
null.
- Name
external_id- Type
- string
- Description
The person's ID in the source system, such as an Okta user ID. Can be
null.
- Name
user_type- Type
- string
- Description
How the person relates to the organization, as the source sends it, such as
Employee,ContractororResident(SCIMuserType). Can benull.
- Name
active- Type
- boolean
- Description
Inactive people have every credential revoked and get no new ones (SCIM
active).
- Name
source- Type
- object
- Description
Where the person comes from.
- Name
source.type- Type
- string
- Description
The writing system. One of
manual,scim,connector.
- Name
source.connector_id- Type
- string
- Description
The connector, when
typeisconnector. Can benull.
- Name
valid_from- Type
- timestamp
- Description
No access before this time, such as a start date or lease start. Can be
null.
- Name
valid_to- Type
- timestamp
- Description
No access from this time, such as an end date or move-out. Can be
null.
- Name
attributes- Type
- object
- Description
Department, title, location and the like, for groups' membership rules.
- Name
attributes.department- Type
- string
- Description
Department, such as
Engineering. Can benull.
- Name
attributes.division- Type
- string
- Description
Division. Can be
null.
- Name
attributes.organization- Type
- string
- Description
Organization, such as a subsidiary. Can be
null.
- Name
attributes.cost_center- Type
- string
- Description
Cost center. Can be
null.
- Name
attributes.employee_number- Type
- string
- Description
Employee number. Can be
null.
- Name
attributes.title- Type
- string
- Description
Job title. Can be
null.
- Name
attributes.location- Type
- string
- Description
Office or building, such as
New York. Can benull.
- Name
labels- Type
- object
- Description
Labels.
- Name
created_at- Type
- timestamp
- Description
When the person was created.
- Name
updated_at- Type
- timestamp
- Description
When the person last changed.
List people
Needs the people:read scope.
Query parameters
- Name
page_size- Type
- integer
- Description
Results per page, 1 to 200.
0or absent means 50; more than 200 means 200 (AIP-158).
- Name
page_token- Type
- string
- Description
next_page_tokenfrom the previous page.
- Name
updated_since- Type
- timestamp
- Description
Only resources changed at or after this time.
- Name
active- Type
- boolean
- Description
Only active, or only inactive, people.
- Name
user_type- Type
- string
- Description
Only people with this user type.
- Name
email- Type
- string
- Description
Only the person with this email (exact match, case-insensitive).
- Name
external_id- Type
- string
- Description
Only the person with this external ID.
- Name
group_id- Type
- string
- Description
Only members of this group.
Request
curl https://acme.ext.passway.com/v1/people \
-H "Authorization: Bearer $PASSWAY_TOKEN"
Response
{
"data": [
{
"id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"etag": "3f9a",
"display_name": "Ada Lovelace",
"email": "ada@example.com",
"external_id": "00u1abcd2EFGHIJKLM3n4",
"user_type": "Employee",
"active": true,
"source": {
"type": "manual",
"connector_id": "con_01jd8k3m2v9x4q7r5t6w8y0z1a"
},
"valid_from": "2026-11-30T14:02:11Z",
"valid_to": "2026-11-30T14:02:11Z",
"attributes": {
"department": "Engineering",
"division": null,
"organization": null,
"cost_center": null,
"employee_number": null,
"title": "Site reliability engineer",
"location": "New York"
},
"labels": {
"passway.example/cost-center": "4410",
"team": "facilities"
},
"created_at": "2026-11-30T14:02:11Z",
"updated_at": "2026-11-30T14:02:11Z"
}
],
"next_page_token": null
}
Create a person
For people no other system knows about, such as visitors. The person's source is manual.
Needs the people:write scope.
Headers
- Name
Idempotency-Key- Type
- string
- Description
A unique key, such as a UUID. Repeating a successful request with the same key within 24 hours returns the original response; reusing it for a different request returns
422; repeating it while the first is still running returns409withRetry-After.
Required attributes
- Name
display_name- Type
- string
- Description
Name to show in the console, audit log and wallet pass.
Optional attributes
- Name
email- Type
- string
- Description
Email, used to send enrolment links.
- Name
external_id- Type
- string
- Description
Your own ID for this person.
- Name
user_type- Type
- string
- Description
How the person relates to the organization, such as
Visitor.
- Name
active- Type
- boolean
- Description
Whether the person can hold credentials.
- Name
valid_from- Type
- timestamp
- Description
No access before this time.
- Name
valid_to- Type
- timestamp
- Description
No access from this time.
- Name
attributes- Type
- object
- Description
Department, title, location and the like, for groups' membership rules.
- Name
attributes.department- Type
- string
- Description
Department, such as
Engineering. Can benull.
- Name
attributes.division- Type
- string
- Description
Division. Can be
null.
- Name
attributes.organization- Type
- string
- Description
Organization, such as a subsidiary. Can be
null.
- Name
attributes.cost_center- Type
- string
- Description
Cost center. Can be
null.
- Name
attributes.employee_number- Type
- string
- Description
Employee number. Can be
null.
- Name
attributes.title- Type
- string
- Description
Job title. Can be
null.
- Name
attributes.location- Type
- string
- Description
Office or building, such as
New York. Can benull.
- Name
labels- Type
- object
- Description
Labels.
Request
curl -X POST https://acme.ext.passway.com/v1/people \
-H "Authorization: Bearer $PASSWAY_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"display_name": "Ada Lovelace",
"email": "ada@example.com",
"user_type": "Visitor",
"valid_from": "2026-11-30T14:02:11Z",
"valid_to": "2026-11-30T14:02:11Z",
"labels": {
"passway.example/cost-center": "4410",
"team": "facilities"
}
}'
Response
{
"id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"etag": "3f9a",
"display_name": "Ada Lovelace",
"email": "ada@example.com",
"external_id": "00u1abcd2EFGHIJKLM3n4",
"user_type": "Employee",
"active": true,
"source": {
"type": "manual",
"connector_id": "con_01jd8k3m2v9x4q7r5t6w8y0z1a"
},
"valid_from": "2026-11-30T14:02:11Z",
"valid_to": "2026-11-30T14:02:11Z",
"attributes": {
"department": "Engineering",
"division": null,
"organization": null,
"cost_center": null,
"employee_number": null,
"title": "Site reliability engineer",
"location": "New York"
},
"labels": {
"passway.example/cost-center": "4410",
"team": "facilities"
},
"created_at": "2026-11-30T14:02:11Z",
"updated_at": "2026-11-30T14:02:11Z"
}
Get a person
Needs the people:read scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
Request
curl https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a \
-H "Authorization: Bearer $PASSWAY_TOKEN"
Response
{
"id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"etag": "3f9a",
"display_name": "Ada Lovelace",
"email": "ada@example.com",
"external_id": "00u1abcd2EFGHIJKLM3n4",
"user_type": "Employee",
"active": true,
"source": {
"type": "manual",
"connector_id": "con_01jd8k3m2v9x4q7r5t6w8y0z1a"
},
"valid_from": "2026-11-30T14:02:11Z",
"valid_to": "2026-11-30T14:02:11Z",
"attributes": {
"department": "Engineering",
"division": null,
"organization": null,
"cost_center": null,
"employee_number": null,
"title": "Site reliability engineer",
"location": "New York"
},
"labels": {
"passway.example/cost-center": "4410",
"team": "facilities"
},
"created_at": "2026-11-30T14:02:11Z",
"updated_at": "2026-11-30T14:02:11Z"
}
Update a person
A JSON merge patch (RFC 7396): fields in the body replace the current ones, null removes a field where the schema allows null, and objects such as labels are merged. Requires If-Match with the current etag.
Needs the people:write scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
Headers
- Name
If-Match- Type
- string
- Description
The resource's current
etag, in double quotes. Required.
Optional attributes
- Name
display_name- Type
- string
- Description
New display name.
- Name
email- Type
- string
- Description
New email, or
nullto remove it. Can benull.
- Name
external_id- Type
- string
- Description
New external ID, or
nullto remove it. Can benull.
- Name
user_type- Type
- string
- Description
New user type, or
nullto remove it. Can benull.
- Name
active- Type
- boolean
- Description
falserevokes every credential the person holds.
- Name
valid_from- Type
- timestamp
- Description
New start, or
nullto remove it. Can benull.
- Name
valid_to- Type
- timestamp
- Description
New end, or
nullto remove it. Can benull.
- Name
attributes- Type
- object
- Description
Attributes to set or remove, or
nullto remove them all. Can benull.
- Name
attributes.department- Type
- string
- Description
New department, or
nullto remove it. Can benull.
- Name
attributes.division- Type
- string
- Description
New division, or
nullto remove it. Can benull.
- Name
attributes.organization- Type
- string
- Description
New organization, or
nullto remove it. Can benull.
- Name
attributes.cost_center- Type
- string
- Description
New cost center, or
nullto remove it. Can benull.
- Name
attributes.employee_number- Type
- string
- Description
New employee number, or
nullto remove it. Can benull.
- Name
attributes.title- Type
- string
- Description
New title, or
nullto remove it. Can benull.
- Name
attributes.location- Type
- string
- Description
New location, or
nullto remove it. Can benull.
- Name
labels- Type
- object
- Description
Labels to set or remove, or
nullto remove every label. Can benull.
Request
curl -X PATCH https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a \
-H "Authorization: Bearer $PASSWAY_TOKEN" \
-H 'If-Match: "3f9a"' \
-H "Content-Type: application/merge-patch+json" \
-d '{
"valid_from": "2026-11-30T14:02:11Z",
"valid_to": "2026-11-30T14:02:11Z",
"labels": {
"old-label": null,
"team": "security"
}
}'
Response
{
"id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"etag": "3f9a",
"display_name": "Ada Lovelace",
"email": "ada@example.com",
"external_id": "00u1abcd2EFGHIJKLM3n4",
"user_type": "Employee",
"active": true,
"source": {
"type": "manual",
"connector_id": "con_01jd8k3m2v9x4q7r5t6w8y0z1a"
},
"valid_from": "2026-11-30T14:02:11Z",
"valid_to": "2026-11-30T14:02:11Z",
"attributes": {
"department": "Engineering",
"division": null,
"organization": null,
"cost_center": null,
"employee_number": null,
"title": "Site reliability engineer",
"location": "New York"
},
"labels": {
"passway.example/cost-center": "4410",
"team": "facilities"
},
"created_at": "2026-11-30T14:02:11Z",
"updated_at": "2026-11-30T14:02:11Z"
}
Delete a person
Revokes every credential the person holds. People from SCIM or a connector return 409 with /problems/wrong-writer; remove them at the source.
Needs the people:write scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
Headers
- Name
If-Match- Type
- string
- Description
The resource's current
etag, in double quotes. Required.
Request
curl -X DELETE https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a \
-H "Authorization: Bearer $PASSWAY_TOKEN" \
-H 'If-Match: "3f9a"'
Response
204 Deleted
Get people statistics
Exact counts of all people and enabled people.
Needs the people:read scope.
Request
curl https://acme.ext.passway.com/v1/people/statistics \
-H "Authorization: Bearer $PASSWAY_TOKEN"
Response
{
"total": 1,
"active": 1
}
Confirm a person whose Passway ID was recovered
Passway ID stamps an ID's last recovery on its ID tokens (passway_recovered_at), and a sign-in through an identity provider whose ID was recovered since the person last proved themselves here is refused (com.passway.session.refused, reason passway_id_recovered): whoever recovered it proved an email address, not that they are the person. Phones issued through the provider are suspended at their next check. Call this once you have confirmed the person another way, such as in person or on a call: their next sign-in goes through. Signing in with one of the organization's passkeys does the same. GET /v1/attention lists the people waiting (recovered_ids). Raises com.passway.person.relinked. An inactive person is refused (409).
Needs the people:write scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
Request
curl -X POST https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a:relink \
-H "Authorization: Bearer $PASSWAY_TOKEN"
Response
{
"id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"etag": "3f9a",
"display_name": "Ada Lovelace",
"email": "ada@example.com",
"external_id": "00u1abcd2EFGHIJKLM3n4",
"user_type": "Employee",
"active": true,
"source": {
"type": "manual",
"connector_id": "con_01jd8k3m2v9x4q7r5t6w8y0z1a"
},
"valid_from": "2026-11-30T14:02:11Z",
"valid_to": "2026-11-30T14:02:11Z",
"attributes": {
"department": "Engineering",
"division": null,
"organization": null,
"cost_center": null,
"employee_number": null,
"title": "Site reliability engineer",
"location": "New York"
},
"labels": {
"passway.example/cost-center": "4410",
"team": "facilities"
},
"created_at": "2026-11-30T14:02:11Z",
"updated_at": "2026-11-30T14:02:11Z"
}
Start an enrolment
Returns a link the person opens on their phone to add a credential to their wallet. The phone generates the key. Device management tools call this to deliver the link with the managed app.
Needs the people:write scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
Headers
- Name
Idempotency-Key- Type
- string
- Description
A unique key, such as a UUID. Repeating a successful request with the same key within 24 hours returns the original response; reusing it for a different request returns
422; repeating it while the first is still running returns409withRetry-After.
Optional attributes
- Name
notify- Type
- string
- Description
How to deliver the link. One of
none,email.
- Name
ttl_seconds- Type
- integer
- Description
How long the link works, in seconds.
Request
curl -X POST https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a/enrollments \
-H "Authorization: Bearer $PASSWAY_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"notify": "none"
}'
Response
{
"id": "enr_01jd8k3m2v9x4q7r5t6w8y0z1a",
"person_id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"url": "https://enroll.passway.example/e/enr_4kq1",
"status": "pending",
"credential_id": "cred_01jd8k3m2v9x4q7r5t6w8y0z1a",
"expires_at": "2026-11-30T14:02:11Z",
"created_at": "2026-11-30T14:02:11Z",
"emailed_to": null
}
Invite a person to make a passkey
Returns a link to give the person. It works once, on the organization's own host: the passkey it makes uses it up. People sign in to Passway with passkeys; there are no passwords and no recovery by email, so someone who loses theirs gets a new invitation.
Needs the people:write scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
Headers
- Name
Idempotency-Key- Type
- string
- Description
A unique key, such as a UUID. Repeating a successful request with the same key within 24 hours returns the original response; reusing it for a different request returns
422; repeating it while the first is still running returns409withRetry-After.
Optional attributes
- Name
ttl_seconds- Type
- integer
- Description
How long the link works, in seconds.
Request
curl -X POST https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a/passkey-invitations \
-H "Authorization: Bearer $PASSWAY_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}'
Response
{
"person_id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"url": "https://acme.ext.passway.example/passkeys/new#pwpi_4kq1",
"expires_at": "2026-11-30T14:02:11Z"
}
List a person's passkeys
Only what identifies each passkey and when it was used; the public keys stay sealed.
Needs the people:read scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
Query parameters
- Name
page_size- Type
- integer
- Description
Results per page, 1 to 200.
0or absent means 50; more than 200 means 200 (AIP-158).
- Name
page_token- Type
- string
- Description
next_page_tokenfrom the previous page.
Request
curl https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a/passkeys \
-H "Authorization: Bearer $PASSWAY_TOKEN"
Response
{
"data": [
{
"id": "pky_01jd8k3m2v9x4q7r5t6w8y0z1a",
"etag": "3f9a",
"person_id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"name": "Work laptop",
"backed_up": true,
"algorithm": "ML-DSA-87",
"last_used_at": "2026-11-30T14:02:11Z",
"created_at": "2026-11-30T14:02:11Z",
"updated_at": "2026-11-30T14:02:11Z"
}
],
"next_page_token": null
}
Get a passkey
Needs the people:read scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
- Name
passkey_id- Type
- string
- Description
Passkey ID:
pky_followed by 1 to 64 lowercase letters and digits.
Request
curl https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a/passkeys/pky_01jd8k3m2v9x4q7r5t6w8y0z1a \
-H "Authorization: Bearer $PASSWAY_TOKEN"
Response
{
"id": "pky_01jd8k3m2v9x4q7r5t6w8y0z1a",
"etag": "3f9a",
"person_id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"name": "Work laptop",
"backed_up": true,
"algorithm": "ML-DSA-87",
"last_used_at": "2026-11-30T14:02:11Z",
"created_at": "2026-11-30T14:02:11Z",
"updated_at": "2026-11-30T14:02:11Z"
}
Remove a passkey
Sessions started with it end at once, and it signs in no more.
Needs the people:write scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
- Name
passkey_id- Type
- string
- Description
Passkey ID:
pky_followed by 1 to 64 lowercase letters and digits.
Headers
- Name
If-Match- Type
- string
- Description
The resource's current
etag, in double quotes. Required.
Request
curl -X DELETE https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a/passkeys/pky_01jd8k3m2v9x4q7r5t6w8y0z1a \
-H "Authorization: Bearer $PASSWAY_TOKEN" \
-H 'If-Match: "3f9a"'
Response
204 Success
What someone may do on /v1, and why
Each scope the person holds now, with every role and group it comes from. Empty for someone inactive or in no group with a role.
Needs the people:read scope.
Path parameters
- Name
person_id- Type
- string
- Description
Person ID:
per_followed by 1 to 64 lowercase letters and digits.
Request
curl https://acme.ext.passway.com/v1/people/per_01jd8k3m2v9x4q7r5t6w8y0z1a/permissions \
-H "Authorization: Bearer $PASSWAY_TOKEN"
Response
{
"person_id": "per_01jd8k3m2v9x4q7r5t6w8y0z1a",
"scopes": [
{
"scope": "people:read",
"from": [
{}
]
}
]
}