TimePasses
Create TimePass
Create a new TimePass record.
POST
Create TimePass
Passes allow customers to check in to a coworking space. There are two kinds:
- Day Pass — valid for a single calendar day. Created with
MinutesIncludedomitted (null). The customer can check in any number of times during that day. - Time Pass — valid across multiple days up to a fixed amount of time. Created with “MinutesIncluded
<minutes>set. The customer can check in until the included minutes are exhausted.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the TimePass-Create role.Request Body
Required Fields
ID of the business linked to this record.
Time pass name.
Unit price amount.
ID of the currency linked to this record.
Optional Fields
Invoice line display text.
Minutes included.
Counts towards plan limits.
Use as pay-as-you-go for members.
Use as pay-as-you-go for contacts.
Use priority.
ID of the tax rate linked to this record.
ID of the reduced tax rate linked to this record.
ID of the exempt tax rate linked to this record.
ID of the financial account linked to this record.
List of businesses linked to this record.
Kisi group ID.
DoorGuard group ID.
ID of the access control group associated with this record.
Allow network check-in.
Only available for contacts.
Only available for members.
List of tariffs linked to this record.
Whether this time pass is archived and hidden from active lists.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the timepass was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create TimePass