---
title: "Create a timesheet attestation"
method: POST
path: "/timesheet-attestations"
tags: ["Timesheet Attestations"]
---

# Create a timesheet attestation

`POST /timesheet-attestations`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/timesheet-attestations`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required: The name of the timesheet attestation. Maximum 255 characters.
  - `attestationText` string, required: The statement the member must sign when submitting a timesheet. Maximum 10000 characters.
  - `isActive` boolean: Whether the timesheet attestation is active. Defaults to `true` if not provided.

## Response `200`

200

- TimesheetAttestation
  - `id` string: The unique identifier for the object.
  - `name` string: The name of the timesheet attestation.
  - `attestationText` string: The statement the member must sign when submitting a timesheet.
  - `isActive` boolean: Whether the timesheet attestation is active.
  - `createdAt` string, date-time: The timestamp when the object was created.

## Other responses

- `400`: 400
- `403`: 403
- `409`: 409

---

[API](https://skmtc.dev/ruddr/apis/ruddr-api.md) · [All operations](https://skmtc.dev/ruddr/apis/ruddr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruddr/apis/ruddr-api/revisions/01c3f2a969ba?raw)
