---
title: "Upload an Approval Matrix"
method: POST
path: "/approvalMatrix/csv"
tags: ["Approvals"]
---

# Upload an Approval Matrix

`POST /approvalMatrix/csv`

Upload a csv containing the order approval matrix to be used on order execution. The csv should have the following format: 
Segment, ApprovalRoleName1, ApprovalRoleName2 ...
SegmentName1, UserEmailOrGroupName1, UserEmailOrGroupName2 ...
Roles, userEmails, userGroups are expected to be added before putting them in this csv. Any new segment names defined here will add a new segment. If a segment isn't added, it shall be deleted.

## Response `200`

successful operation

- ApprovalMatrixImportDataJson
  - `id` string
  - `fileName` string
  - `uploadedBy` string
  - `status` string
  - `createdOn` integer
  - `updatedOn` integer

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/versions/c30f5b9fbfab/schema)
