---
title: "Register a user activity for a transaction"
method: POST
path: "/v1/transactions/activity"
tags: ["Transactions"]
---

# Register a user activity for a transaction

`POST /v1/transactions/activity`

## Request

- The document declares no server URL.
- Auth: API key in header `Ocp-Apim-Subscription-Key`

Register a user activity for a transaction

## Request body

- TransactionActivityRequest
  - `activity_type` string, required: Activity type to be recorded Validations: - Required property - Values allowed are (letter case matters): INVOICE_DOWNLOADED
  - `operation_id` string, required: The unique Fonoa identifier received upon the transaction request/operation for which you want to register the activity. Validations: - Required property

## Response `201`

Ok - activity created.

- TransactionActivityResponse
  - `message` string: Information about the failure reason in case the request was unsuccessful.

## Other responses

- `400`: Bad customer request - invalid body parameters
- `401`: Authentication failed - missing or incorrect subscription key
- `429`: Too many requests were sent for a short period of time. Try again a bit later.
- `5XX`: Internal server error. Its not you, its us! We are experiencing a rare and unexpected system disruption. Retry again later. The message field of the response will contain more information for the cause. Feel free to contact us.

---

[API](https://skmtc.dev/fonoa/apis/fonoa-e-invoicing.md) - [All operations](https://skmtc.dev/fonoa/apis/fonoa-e-invoicing/llms.txt) - [OpenAPI document](https://skmtc.dev/fonoa/apis/fonoa-e-invoicing/revisions/d38890cb6fcd?raw)
