openapi: 3.2.0 info: description: '# Introduction Welcome to the IntelyCare API documentation, your gateway to seamless integration with the IntelyCare Staffing platform. Our REST API empowers clients to efficiently create shift requests, enabling a streamlined process for managing workforce scheduling. By leveraging this API, you can enhance your systems with real-time information about shift status, including when a shift has been filled and details about the assigned IntelyPro. # Overview The IntelyCare API facilitates communication between your application and the IntelyCare platform, enabling a seamless exchange of data. This documentation serves as a comprehensive guide to help you integrate your systems with our powerful RESTful API. All requests and responses are JSON-encoded, and use standard HTTP response codes and authentication schemes. Bulk operations are not supported. You can work with only one object per request. To get started with the IntelyCare API, refer to the detailed documentation below. We provide comprehensive information on authentication, endpoints, request and response formats, and error handling. # Authentication IntelyCare offers the following authentication schemes: | Type | Usage | Description | Example | | ------------------------- | ----------- | -------------------------------------------------------------- | ------------------------------------------------------------------------- | | apiKey | REST APIs | Required as `X-API-KEY` header for all RESTful calls | `d1015a83-9f5f-4a4d-b5fd-4e756ed1d282` | | HMAC Signature (SHA256) | Webhooks | Provided as `X-Signature-IC` header on all webhooks | `bcc151a55acf3d93c097e768f2b96f82d91b56d6fe2a102818b70f0fdfd0ccd1` | > :memo: **Note:** API Keys are tied to individual clients and cannot be used outside their provided scope # Support and Assistance If you have any questions, encounter issues, or require assistance during the integration process, our dedicated support team is here to help. Reach out to apisupport@intelycare.com for prompt and reliable assistance. Thank you for choosing IntelyCare. Let''s build a more efficient and connected healthcare workforce together! ' version: 1.0.0 title: IntelyCare API Documentation Timecard API contact: name: API Support email: apisupport@intelycare.com x-logo: url: https://www.intelycare.com/wp-content/uploads/2023/08/ic-logo-2-1.svg altText: IntelyCare Logo license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html servers: - url: //api.intelycare.com/external-scheduling/v1/ description: Default server - url: //api.pre.prod01.platform.intelycare.com/external-scheduling/v1/ description: Sandbox server security: - ApiKeyAuth: [] - HMACSignature: [] tags: - name: Timecard description: Simplify billing reconciliation by exchanging timecard information seamlessly. Our API supports the exchange of accurate timekeeping data, ensuring a smooth and efficient process for both you and the IntelyCare platform. paths: /api/timecards: post: tags: - Timecard operationId: timecard_create_api_v1 summary: Create security: - ApiKeyAuth: [] parameters: - name: X-API-KEY in: header description: API key issued to a specific client. This can only be used to access data within the client scope. example: d1015a83-9f5f-4a4d-b5fd-4e756ed1d282 required: true schema: type: string - name: X-CLIENT-ID in: header description: Intelycare's Unique identifier of the client. example: '1234' required: true schema: type: string requestBody: content: application/json: schema: type: object required: - externalShiftId - checkIn - checkOut - breakDuration properties: externalShiftId: description: Unique identifier for the shift type: string checkIn: description: Shift check-in timestamp in ISO 8601 format and in UTC timezone type: string example: '2024-01-17T07:00:00' checkOut: description: Shift check-out timestamp in ISO 8601 format and in UTC timezone type: string example: '2024-01-17T15:00:00' breakDuration: description: Duration (in minutes) of shift break type: integer example: 30 example: externalShiftId: '2546810' checkIn: '2024-01-17T07:00:00' checkOut: '2024-01-17T15:00:00' breakDuration: 30 responses: '200': description: 200 OK content: application/json: example: clientId: 1234 externalShiftId: '2546810' checkIn: '2024-01-17T07:00:00' checkOut: '2024-01-17T15:00:00' breakDuration: 30 errors: null createdAt: '2024-01-17T15:01:00' '401': $ref: '#/components/responses/UnauthorizedError' put: tags: - Timecard operationId: update_timecard_api_v1 summary: Update security: - ApiKeyAuth: [] parameters: - name: X-API-KEY in: header description: API key issued to a specific client. This can only be used to access data within the client scope. example: d1015a83-9f5f-4a4d-b5fd-4e756ed1d282 required: true schema: type: string - name: X-CLIENT-ID in: header description: Intelycare's Unique identifier of the client. example: '1234' required: true schema: type: string requestBody: content: application/json: schema: type: object required: - externalShiftId - checkIn - checkOut - breakDuration properties: externalShiftId: description: Unique identifier for the shift type: integer checkIn: description: Shift check-in timestamp in ISO 8601 format and in UTC timezone type: string example: '2024-01-17T07:00:00' checkOut: description: Shift check-out timestamp in ISO 8601 format and in UTC timezone type: string example: '2024-01-17T15:00:00' breakDuration: description: Duration (in minutes) of shift break type: integer example: 30 example: externalShiftId: '2546810' checkIn: '2024-01-17T07:00:00' checkOut: '2024-01-17T15:00:00' breakDuration: 30 responses: '200': description: 200 OK content: application/json: example: clientId: 1234 externalShiftId: '2546810' checkIn: '2024-01-17T07:00:00' checkOut: '2024-01-17T15:00:00' breakDuration: 30 errors: null updatedAt: '2024-01-17T15:01:00' '401': $ref: '#/components/responses/UnauthorizedError' components: responses: UnauthorizedError: description: Unauthorized headers: WWW_Authenticate: schema: type: string content: application/json: examples: foo: value: message: Unauthorized securitySchemes: ApiKeyAuth: type: apiKey in: header name: X-API-KEY HMACSignature: type: apiKey in: header name: X-Signature-IC x-tagGroups: - name: APIs tags: - Shift - Timecard - Webhook Events - Check In / Check Out