---
title: "Create Company Punch Detail Operation"
method: POST
path: "/apiHub/time/v2/companies/{companyId}/punchDetails"
tags: ["Company Punch Details"]
---

# Create Company Punch Detail Operation

`POST /apiHub/time/v2/companies/{companyId}/punchDetails`

**Summary Description**

The Company Punch Detail endpoint returns punch records for all employees within a specified company. Company Punch Detail endpoint represents the first step in a three-step process for retrieving punch details at the company level. Results can be limited by specifying a start date and end date. Date and time filtering uses the consumer's time zone and supports standard daily boundaries (00:00:00, 12:00:00, and 23:59:59).

For information about the complete sequence, see the Punch Detail Overview or the Getting Started with Company Punch Details API recipe.

**Use Cases**
- Retrieve punch details for all employees associated with a specific company ID.
- Narrow results to a defined timeframe by using the relativeStart and relativeEnd parameters.

## Path parameters

- `companyId` string, required

## Headers

- `Authorization` string, required

## Request body

- CompanyPunchDetailRequestBody
  - `relativeStart` string, date-time — The relative DateTime for the beginning of the WorkedShift. Value must not have timezone information.
  - `relativeEnd` string, date-time — The relative DateTime for the end of the WorkedShift. Value must not have timezone information.

## Response `202`

Accepted

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Server Error

---

[API](https://skmtc.net/paylocity/apis/assessments-api.md) · [All operations](https://skmtc.net/paylocity/apis/assessments-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paylocity/assessments-api/revisions/dd22ab229153/schema)
