---
title: "When the workspace first linked a number and sent its first message"
method: GET
path: "/api/v1/workspaces/{workspaceId}/milestones"
tags: ["Analytics"]
---

# When the workspace first linked a number and sent its first message

`GET /api/v1/workspaces/{workspaceId}/milestones`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/workspaces/{workspaceId}/milestones`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` integer, required

## Response `200`

OK

- MilestonesBody
  - `first_message_at` string, date-time, nullable, required: When the workspace sent its first message
  - `number_linked_at` string, date-time, nullable, required: When a WhatsApp number of the workspace was linked for the first time

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
