---
title: "Get activity"
method: GET
path: "/activity/{id}"
tags: ["Activity"]
---

# Get activity

`GET /activity/{id}`

## Request

- Base URL: `https://us.api.flexprice.io/v1`
- URL: `https://us.api.flexprice.io/v1/activity/{id}`
- Auth: API key in header `x-api-key`

Use when you need one activity entry with the state of the entity right after the change.

## Path parameters

- `id` string, required

## Response `200`

OK

- ActivityResponse
  - `action` string
  - `actor` ActivityActor
    - `id` string
    - `label` string
    - `type` string
  - `customer_id` string
  - `entity` ActivityEntity
    - `id` string
    - `label` string
    - `type` string
  - `id` string
  - `ip` string
  - `occurred_at` string, date-time
  - `request_id` string
  - `source` string
  - `state` object
  - `user_agent` string

## Other responses

- `400`: Invalid activity id
- `404`: Activity not found
- `500`: Server error

## Changes

- **2026-10-13** `04daffd19a67`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/activity/:id/get.md)

---

[API](https://skmtc.dev/flexprice/apis/flexprice-api.md) - [All operations](https://skmtc.dev/flexprice/apis/flexprice-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flexprice/apis/flexprice-api/revisions/84cb4a3af400?raw)
