Shiftboard
App · 25 actions
Schedule and assign shifts, manage people and time off, and read timecards in Shiftboard.
Actions
| Action | What it does |
|---|---|
| Approve time off request | Approve a time off request. |
| Assign shift | Assign a shift to a person, with Shiftboard's conflict checks, optionally publishing it. |
| Create account | Add a person to the Shiftboard site, optionally emailing them a welcome letter with their password. |
| Create shift | Add a shift to a workgroup's schedule, optionally assigned to someone and published. |
| Create time off request | Request time off for a person, for whole days or between two times. |
| Delete account | Remove a person's account from the site. |
| Delete shift | Delete a shift. |
| Delete time off request | Delete a time off request. |
| Deny time off request | Deny a time off request. |
| Get account | Get one person's account. |
| Get API account | Get the Shiftboard account the API keys act as. |
| Get shift | Get one shift with its details. |
| Get time off request | Get one time off request. |
| List accounts | List the people (accounts) on the site, optionally searching by name or limiting to a workgroup or email. |
| List locations | List the site's locations. |
| List recently updated accounts | List the people whose accounts were added or changed in the last 24 hours, or only those whose profile changed. |
| List recently updated shifts | List the shifts added or changed in the last 24 hours, or only those assigned, confirmed or published in that time. |
| List roles | List the roles shifts can have. |
| List shifts | List shifts between two dates (from today for a week if left empty), optionally by workgroup, person, location, role or whether they're filled or published. |
| List time off requests | List time off requests between two dates (from today for a week if left empty), optionally for one person or status. |
| List timecards | List timecards between two dates (the last 30 days if left empty), optionally for one person or workgroup, or only approved ones. |
| List who is clocked in | List the people clocked in right now. |
| List workgroups | List the site's workgroups (teams). |
| Update account | Change a person's name, contact details or hold status. |
| Update shift | Change a shift's times, details, location, role, assignment or publishing. |
Approve time off request
Approve a time off request.
Inputs
- Time off request
time_off_request_idtextRequired - The time off request.
- Reason
status_reasontext - Why it is approved, for the person to read.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"message": "example"
}
}Assign shift
Assign a shift to a person, with Shiftboard's conflict checks, optionally publishing it.
Inputs
- Shift
shift_idtextRequired - The shift.
- Assign to
covering_membertextRequired - Who works the shift.
- Publish
publishtrue/false - Publish the shift too.
- Don't notify
no_notifytrue/false - Don't tell the person about it.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"message": "example"
}
}Create account
Add a person to the Shiftboard site, optionally emailing them a welcome letter with their password.
Inputs
- First name
first_nametextRequired - First name.
- Last name
last_nametextRequired - Last name.
- Email
emailtextRequired - Email address, which the person signs in with.
- Mobile phone
mobile_phonetext - Mobile phone.
- Home phone
home_phonetext - Home phone.
- Address
addresstext - Street address.
- City
citytext - City.
- State
statetext - Full name of the state or province.
- Postal code
ziptext - Postal code.
- Country
countrytext - Country.
- External ID
external_idtext - Your own ID for the person, if your site uses external IDs.
- Add to default workgroups
add_default_workgroupstrue/false - Add the person to the site's default workgroups.
- Send welcome letter
send_welcome_lettertrue/false - Email the person Shiftboard's welcome letter with a temporary password.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"id": "example"
}
}Create shift
Add a shift to a workgroup's schedule, optionally assigned to someone and published.
Inputs
- Workgroup
workgroup_idtextRequired - The workgroup (team) the shift belongs to.
- Start date
start_datedateRequired - The day the shift starts.
- Start time
start_timetime - When the shift starts, in the shift's time zone, on a five minute mark. Leave empty for an all-day shift.
- End date
end_datedate - The day the shift ends. Leave empty when it ends on the day it starts.
- End time
end_timetime - When the shift ends, on a five minute mark.
- Subject
subjecttext - The shift's subject, up to 100 characters.
- Details
detailstext - More about the shift.
- Location
location_idtext - Where the shift is. Leave empty for the workgroup's default location.
- Role
role_idtext - The shift's role.
- Published
publishedtrue/false - Publish the shift, so members can see it.
- Urgent
urgenttrue/false - Mark the shift as critical to fill.
- Assigned to
covering_membertext - Who works the shift. A covered shift must also be published.
- Notify
notifytrue/false - Tell the assigned person about the shift.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"id": "example"
}
}Create time off request
Request time off for a person, for whole days or between two times.
Inputs
- Person
membertextRequired - Who the time off is for.
- Start date
start_datedateRequired - The first day off.
- End date
end_datedate - The last day off. Leave empty for one day.
- Start time
start_timetime - When the time off starts, on a five minute mark. Leave both times empty for whole days.
- End time
end_timetime - When the time off ends, on a five minute mark.
- Summary
summarytext - A short reason.
- Details
detailstext - More about the request.
- Paid
paidtrue/false - Whether the time off is paid.
- Workgroup
workgroup_idtext - The workgroup the request is for. Leave empty for the whole site.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"id": "example"
}
}Delete account
Remove a person's account from the site.
Inputs
- Account
account_idtextRequired - The account.
- Unconfirm future shifts
unconfirm_future_shiftstrue/false - Also unconfirm the person's shifts from today on.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"deleted": true,
"id": "example"
}
}Delete shift
Delete a shift.
Inputs
- Shift
shift_idtextRequired - The shift.
- Notify
notifytrue/false - Tell the assigned person the shift is gone.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"deleted": true,
"id": "example"
}
}Delete time off request
Delete a time off request.
Inputs
- Time off request
time_off_request_idtextRequired - The time off request.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"deleted": true,
"id": "example"
}
}Deny time off request
Deny a time off request.
Inputs
- Time off request
time_off_request_idtextRequired - The time off request.
- Reason
status_reasontext - Why it is denied, for the person to read.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"message": "example"
}
}Get account
Get one person's account.
Inputs
- Account
account_idtextRequired - The account.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"address": "example",
"bad_email": true,
"city": "example",
"country": "example",
"email": "example",
"external_id": "example",
"first_name": "example",
"home_phone": "example",
"id": "example",
"last_name": "example",
"mobile_phone": "example",
"org_hold": true,
"org_pending": "example",
"other_phone": "example",
"profile_type": "example",
"screen_name": "example",
"state": "example",
"timezone": "example",
"zip": "example"
}
}Get API account
Get the Shiftboard account the API keys act as.
Inputs
None.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"address": "example",
"bad_email": true,
"city": "example",
"country": "example",
"email": "example",
"external_id": "example",
"first_name": "example",
"home_phone": "example",
"id": "example",
"last_name": "example",
"mobile_phone": "example",
"org_hold": true,
"org_pending": "example",
"other_phone": "example",
"profile_type": "example",
"screen_name": "example",
"state": "example",
"timezone": "example",
"zip": "example"
}
}Get shift
Get one shift with its details.
Inputs
- Shift
shift_idtextRequired - The shift.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"covered": true,
"covering_member": "example",
"created": "example",
"details": "example",
"end_date": "example",
"id": "example",
"location": "example",
"published": true,
"qty": "example",
"role": "example",
"start_date": "example",
"status_updated": "example",
"subject": "example",
"timezone": "example",
"updated": "example",
"urgent": true,
"workgroup": "example"
}
}Get time off request
Get one time off request.
Inputs
- Time off request
time_off_request_idtextRequired - The time off request.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"category": "example",
"details": "example",
"end_date": "example",
"id": "example",
"last_status_update": "example",
"member": "example",
"paid": true,
"start_date": "example",
"status": "example",
"status_reason": "example",
"summary": "example",
"timezone": "example",
"use_time": "example",
"workgroup": "example"
}
}List accounts
List the people (accounts) on the site, optionally searching by name or limiting to a workgroup or email.
Inputs
- Search
searchtext - Only list people whose name (or external ID) contains this.
- Workgroup
workgroup_idtext - Only list members of this workgroup (team).
- Email
emailtext - Only list the person with this email.
- Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"accounts": [
{
"address": "example",
"bad_email": true,
"city": "example",
"country": "example",
"email": "example",
"external_id": "example",
"first_name": "example",
"home_phone": "example",
"id": "example",
"last_name": "example",
"mobile_phone": "example",
"org_hold": true,
"org_pending": "example",
"other_phone": "example",
"profile_type": "example",
"screen_name": "example",
"state": "example",
"timezone": "example",
"zip": "example"
}
],
"count": "example",
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
}
}
}List locations
List the site's locations.
Inputs
- Search
searchtext - Only list locations whose name contains this.
- Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"locations": [
{
"address": "example",
"city": "example",
"country": "example",
"description": "example",
"id": "example",
"name": "example",
"state": "example",
"zip": "example"
}
],
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
}
}
}List recently updated accounts
List the people whose accounts were added or changed in the last 24 hours, or only those whose profile changed.
Inputs
- Profile changes only
profile_onlytrue/false - Only list people whose profile information changed.
- Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"accounts": [
{
"address": "example",
"bad_email": true,
"city": "example",
"country": "example",
"email": "example",
"external_id": "example",
"first_name": "example",
"home_phone": "example",
"id": "example",
"last_name": "example",
"mobile_phone": "example",
"org_hold": true,
"org_pending": "example",
"other_phone": "example",
"profile_type": "example",
"screen_name": "example",
"state": "example",
"timezone": "example",
"zip": "example"
}
],
"count": "example",
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
}
}
}List recently updated shifts
List the shifts added or changed in the last 24 hours, or only those assigned, confirmed or published in that time.
Inputs
- Status changes only
status_onlytrue/false - Only list shifts that were assigned, reassigned, confirmed, unconfirmed, published or unpublished.
- Workgroup
workgroup_idtext - Only include this workgroup (team).
- Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
},
"shifts": [
{
"count": "example",
"covered": true,
"covering_member": "example",
"created": "example",
"details": "example",
"end_date": "example",
"id": "example",
"location": "example",
"published": true,
"qty": "example",
"role": "example",
"start_date": "example",
"status_updated": "example",
"subject": "example",
"timezone": "example",
"updated": "example",
"urgent": true,
"workgroup": "example"
}
]
}
}List roles
List the roles shifts can have.
Inputs
- Search
searchtext - Only list roles whose name contains this.
- Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
},
"roles": [
{
"id": "example",
"name": "example"
}
]
}
}List shifts
List shifts between two dates (from today for a week if left empty), optionally by workgroup, person, location, role or whether they're filled or published.
Inputs
- From
start_datedate - The first day of shifts to list. Leave empty for today.
- To
end_datedate - The last day of shifts to list. Leave empty for a week after the first.
- Workgroup
workgroup_idtext - Only include this workgroup (team).
- Assigned to
covering_membertext - Only list shifts this person works.
- Location
location_idtext - Only list shifts at this location.
- Role
role_idtext - Only list shifts with this role.
- Filled
coveredtrue/false - On: only filled shifts. Off: only open ones. Leave empty for both.
- Published
publishedtrue/false - On: only published shifts. Off: only unpublished ones. Leave empty for both.
- Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
},
"shifts": [
{
"count": "example",
"covered": true,
"covering_member": "example",
"created": "example",
"details": "example",
"end_date": "example",
"id": "example",
"location": "example",
"published": true,
"qty": "example",
"role": "example",
"start_date": "example",
"status_updated": "example",
"subject": "example",
"timezone": "example",
"updated": "example",
"urgent": true,
"workgroup": "example"
}
]
}
}List time off requests
List time off requests between two dates (from today for a week if left empty), optionally for one person or status.
Inputs
- From
start_datedate - The first day to list. Leave empty for today.
- To
end_datedate - The last day to list. Leave empty for a week after the first.
- Person
membertext - Only list this person's requests.
- Status
statustext - Only list requests with this status.One of:
0(New),2(Approved),3(Denied). - Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
},
"timeOffRequests": [
{
"category": "example",
"details": "example",
"end_date": "example",
"id": "example",
"last_status_update": "example",
"member": "example",
"paid": true,
"start_date": "example",
"status": "example",
"status_reason": "example",
"summary": "example",
"timezone": "example",
"use_time": "example",
"workgroup": "example"
}
]
}
}List timecards
List timecards between two dates (the last 30 days if left empty), optionally for one person or workgroup, or only approved ones.
Inputs
- From
start_datedate - The earliest day to list. Leave empty for 30 days ago.
- To
end_datedate - The latest day to list. Leave empty for today.
- Person
account_idtext - Only list this person's timecards.
- Workgroup
workgroup_idtext - Only include this workgroup (team).
- Approved
approvedtrue/false - On: only approved timecards. Off: only ones not yet approved. Leave empty for both.
- Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
},
"timecards": [
{
"account": "example",
"approved": true,
"duration": "example",
"id": "example",
"processed": true,
"shift": "example",
"start_date": "example",
"start_time": "example",
"workgroup": "example"
}
]
}
}List who is clocked in
List the people clocked in right now.
Inputs
- Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
},
"timeclocks": [
{
"account": "example",
"can_clockout": true,
"clocked_in": "example",
"id": "example",
"shift": "example",
"workgroup": "example"
}
]
}
}List workgroups
List the site's workgroups (teams).
Inputs
- Search
searchtext - Only list workgroups whose name or code contains this.
- Results per page
batch_sizenumber - How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
- Start at record
start_atnumber - The number of the first record to read, from 1. Leave empty to start at the first.At least 1.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"page": {
"next": {
"batch": "example",
"start": 1
},
"prev": {
"batch": "example",
"start": 1
},
"this": {
"batch": "example",
"start": 1
}
},
"workgroups": [
{
"code": "example",
"description": "example",
"id": "example",
"name": "example",
"timezone": "example",
"zip": "example"
}
]
}
}Update account
Change a person's name, contact details or hold status. Fields left empty stay as they are.
Inputs
- Account
account_idtextRequired - The account.
- First name
first_nametext - First name.
- Last name
last_nametext - Last name.
- Email
emailtext - Email address, which the person signs in with.
- Mobile phone
mobile_phonetext - Mobile phone.
- Home phone
home_phonetext - Home phone.
- Address
addresstext - Street address.
- City
citytext - City.
- State
statetext - Full name of the state or province.
- Postal code
ziptext - Postal code.
- Country
countrytext - Country.
- External ID
external_idtext - Your own ID for the person, if your site uses external IDs.
- On hold
org_holdtrue/false - Put the person on hold, or take them off it.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"address": "example",
"bad_email": true,
"city": "example",
"country": "example",
"email": "example",
"external_id": "example",
"first_name": "example",
"home_phone": "example",
"id": "example",
"last_name": "example",
"mobile_phone": "example",
"org_hold": true,
"org_pending": "example",
"other_phone": "example",
"profile_type": "example",
"screen_name": "example",
"state": "example",
"timezone": "example",
"zip": "example"
}
}Update shift
Change a shift's times, details, location, role, assignment or publishing. Fields left empty stay as they are.
Inputs
- Shift
shift_idtextRequired - The shift.
- Start date
start_datedate - The day the shift starts.
- Start time
start_timetime - When the shift starts, in the shift's time zone, on a five minute mark. Leave empty for an all-day shift.
- End date
end_datedate - The day the shift ends. Leave empty when it ends on the day it starts.
- End time
end_timetime - When the shift ends, on a five minute mark.
- Subject
subjecttext - The shift's subject, up to 100 characters.
- Details
detailstext - More about the shift.
- Location
location_idtext - Where the shift is. Leave empty for the workgroup's default location.
- Role
role_idtext - The shift's role.
- Published
publishedtrue/false - Publish the shift, so members can see it.
- Urgent
urgenttrue/false - Mark the shift as critical to fill.
- Assigned to
covering_membertext - Who works the shift. A covered shift must also be published.
- Notify
notifytrue/false - Tell the assigned person about the change.
Outputs
dataobject- The response from Shiftboard.
Example output
{
"data": {
"count": "example",
"covered": true,
"covering_member": "example",
"created": "example",
"details": "example",
"end_date": "example",
"id": "example",
"location": "example",
"published": true,
"qty": "example",
"role": "example",
"start_date": "example",
"status_updated": "example",
"subject": "example",
"timezone": "example",
"updated": "example",
"urgent": true,
"workgroup": "example"
}
}