Shiftboard

App · 25 actions

Schedule and assign shifts, manage people and time off, and read timecards in Shiftboard.

Actions

ActionWhat it does
Approve time off requestApprove a time off request.
Assign shiftAssign a shift to a person, with Shiftboard's conflict checks, optionally publishing it.
Create accountAdd a person to the Shiftboard site, optionally emailing them a welcome letter with their password.
Create shiftAdd a shift to a workgroup's schedule, optionally assigned to someone and published.
Create time off requestRequest time off for a person, for whole days or between two times.
Delete accountRemove a person's account from the site.
Delete shiftDelete a shift.
Delete time off requestDelete a time off request.
Deny time off requestDeny a time off request.
Get accountGet one person's account.
Get API accountGet the Shiftboard account the API keys act as.
Get shiftGet one shift with its details.
Get time off requestGet one time off request.
List accountsList the people (accounts) on the site, optionally searching by name or limiting to a workgroup or email.
List locationsList the site's locations.
List recently updated accountsList the people whose accounts were added or changed in the last 24 hours, or only those whose profile changed.
List recently updated shiftsList the shifts added or changed in the last 24 hours, or only those assigned, confirmed or published in that time.
List rolesList the roles shifts can have.
List shiftsList 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 requestsList time off requests between two dates (from today for a week if left empty), optionally for one person or status.
List timecardsList 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 inList the people clocked in right now.
List workgroupsList the site's workgroups (teams).
Update accountChange a person's name, contact details or hold status.
Update shiftChange a shift's times, details, location, role, assignment or publishing.

Approve time off request

Approve a time off request.

Inputs

Time off requesttime_off_request_idtextRequired
The time off request.
Reasonstatus_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

Shiftshift_idtextRequired
The shift.
Assign tocovering_membertextRequired
Who works the shift.
Publishpublishtrue/false
Publish the shift too.
Don't notifyno_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 namefirst_nametextRequired
First name.
Last namelast_nametextRequired
Last name.
EmailemailtextRequired
Email address, which the person signs in with.
Mobile phonemobile_phonetext
Mobile phone.
Home phonehome_phonetext
Home phone.
Addressaddresstext
Street address.
Citycitytext
City.
Statestatetext
Full name of the state or province.
Postal codeziptext
Postal code.
Countrycountrytext
Country.
External IDexternal_idtext
Your own ID for the person, if your site uses external IDs.
Add to default workgroupsadd_default_workgroupstrue/false
Add the person to the site's default workgroups.
Send welcome lettersend_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

Workgroupworkgroup_idtextRequired
The workgroup (team) the shift belongs to.
Start datestart_datedateRequired
The day the shift starts.
Start timestart_timetime
When the shift starts, in the shift's time zone, on a five minute mark. Leave empty for an all-day shift.
End dateend_datedate
The day the shift ends. Leave empty when it ends on the day it starts.
End timeend_timetime
When the shift ends, on a five minute mark.
Subjectsubjecttext
The shift's subject, up to 100 characters.
Detailsdetailstext
More about the shift.
Locationlocation_idtext
Where the shift is. Leave empty for the workgroup's default location.
Rolerole_idtext
The shift's role.
Publishedpublishedtrue/false
Publish the shift, so members can see it.
Urgenturgenttrue/false
Mark the shift as critical to fill.
Assigned tocovering_membertext
Who works the shift. A covered shift must also be published.
Notifynotifytrue/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

PersonmembertextRequired
Who the time off is for.
Start datestart_datedateRequired
The first day off.
End dateend_datedate
The last day off. Leave empty for one day.
Start timestart_timetime
When the time off starts, on a five minute mark. Leave both times empty for whole days.
End timeend_timetime
When the time off ends, on a five minute mark.
Summarysummarytext
A short reason.
Detailsdetailstext
More about the request.
Paidpaidtrue/false
Whether the time off is paid.
Workgroupworkgroup_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

Accountaccount_idtextRequired
The account.
Unconfirm future shiftsunconfirm_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

Shiftshift_idtextRequired
The shift.
Notifynotifytrue/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 requesttime_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 requesttime_off_request_idtextRequired
The time off request.
Reasonstatus_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

Accountaccount_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

Shiftshift_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 requesttime_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

Searchsearchtext
Only list people whose name (or external ID) contains this.
Workgroupworkgroup_idtext
Only list members of this workgroup (team).
Emailemailtext
Only list the person with this email.
Results per pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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

Searchsearchtext
Only list locations whose name contains this.
Results per pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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 onlyprofile_onlytrue/false
Only list people whose profile information changed.
Results per pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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 onlystatus_onlytrue/false
Only list shifts that were assigned, reassigned, confirmed, unconfirmed, published or unpublished.
Workgroupworkgroup_idtext
Only include this workgroup (team).
Results per pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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

Searchsearchtext
Only list roles whose name contains this.
Results per pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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

Fromstart_datedate
The first day of shifts to list. Leave empty for today.
Toend_datedate
The last day of shifts to list. Leave empty for a week after the first.
Workgroupworkgroup_idtext
Only include this workgroup (team).
Assigned tocovering_membertext
Only list shifts this person works.
Locationlocation_idtext
Only list shifts at this location.
Rolerole_idtext
Only list shifts with this role.
Filledcoveredtrue/false
On: only filled shifts. Off: only open ones. Leave empty for both.
Publishedpublishedtrue/false
On: only published shifts. Off: only unpublished ones. Leave empty for both.
Results per pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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

Fromstart_datedate
The first day to list. Leave empty for today.
Toend_datedate
The last day to list. Leave empty for a week after the first.
Personmembertext
Only list this person's requests.
Statusstatustext
Only list requests with this status.One of: 0 (New), 2 (Approved), 3 (Denied).
Results per pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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

Fromstart_datedate
The earliest day to list. Leave empty for 30 days ago.
Toend_datedate
The latest day to list. Leave empty for today.
Personaccount_idtext
Only list this person's timecards.
Workgroupworkgroup_idtext
Only include this workgroup (team).
Approvedapprovedtrue/false
On: only approved timecards. Off: only ones not yet approved. Leave empty for both.
Results per pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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 pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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

Searchsearchtext
Only list workgroups whose name or code contains this.
Results per pagebatch_sizenumber
How many records to read, from 1 to 1,000. Leave empty for 10.From 1 to 1000.
Start at recordstart_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

Accountaccount_idtextRequired
The account.
First namefirst_nametext
First name.
Last namelast_nametext
Last name.
Emailemailtext
Email address, which the person signs in with.
Mobile phonemobile_phonetext
Mobile phone.
Home phonehome_phonetext
Home phone.
Addressaddresstext
Street address.
Citycitytext
City.
Statestatetext
Full name of the state or province.
Postal codeziptext
Postal code.
Countrycountrytext
Country.
External IDexternal_idtext
Your own ID for the person, if your site uses external IDs.
On holdorg_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

Shiftshift_idtextRequired
The shift.
Start datestart_datedate
The day the shift starts.
Start timestart_timetime
When the shift starts, in the shift's time zone, on a five minute mark. Leave empty for an all-day shift.
End dateend_datedate
The day the shift ends. Leave empty when it ends on the day it starts.
End timeend_timetime
When the shift ends, on a five minute mark.
Subjectsubjecttext
The shift's subject, up to 100 characters.
Detailsdetailstext
More about the shift.
Locationlocation_idtext
Where the shift is. Leave empty for the workgroup's default location.
Rolerole_idtext
The shift's role.
Publishedpublishedtrue/false
Publish the shift, so members can see it.
Urgenturgenttrue/false
Mark the shift as critical to fill.
Assigned tocovering_membertext
Who works the shift. A covered shift must also be published.
Notifynotifytrue/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"
  }
}

On this page