Schedule Events

Retrieve Event

get/v2/company/{company_id}/events/{event_id}

Request

  • Base URL
    https://api.7shifts.com
  • Auth
    • OAuth 2
      Authorization codehttps://app.7shifts.com/oauth2/authorize
      Client credentials
      Password
      Token URLhttps://app.7shifts.com/oauth2/token
    • or API key in cookie 7session

Path parameters

company_idinteger required

Company ID

event_idinteger required

Event ID

Headers

x-api-versionstring

An API version

Example:2022-05-01

7shifts API version

x-company-guidstring uuid

Company GUID

Response

OK

object'event' required

Example response

{
  "data": {
    "start_date": "2019-01-01",
    "start_time": "09:00:00",
    "end_date": "2019-01-02",
    "end_time": "17:00:00",
    "color": "5ea17c",
    "recurrence": "Daily for 10 occurrences ==> (1997 9:00 AM EDT) September 2-11 DTSTART;TZID=America/New_York:19970902T090000 RRULE:FREQ=DAILY;COUNT=10"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.