---
title: "Initiates the creation of a SIP report CSV"
method: GET
path: "/v2/partition/{partitionId}/report/sip/csv_2"
tags: ["Report"]
---

# Initiates the creation of a SIP report CSV

`GET /v2/partition/{partitionId}/report/sip/csv_2`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/report/sip/csv_2`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/report/sip/csv_2/get.ts> (a function with typed inputs; its response is checked against the schema)

Creates an <a href="#/~schema/Job">asynchronous job</a> that generates a CSV file for download.
<span hidden>Please refer to <a href="jobs.html#monitor-job-progress">monitoring job progress</a> and <a href="jobs.html#get-job-output">retrieving job output</a> for instructions on retrieving the report.</span>

**The CSV headers are:**
* AccountNumber
* AccountStatus
* AddDate
* ConcurrentCall
* DeletedDate
* E911CallbackNumber
* ParentPartitionName
* PartitionName
* SipTrunkName
* State

## Path parameters

- `partitionId` string, required

## Query parameters

- `month` integer, required
- `year` integer, required

## Response `202`

Use Jobs API to check status

- Job
  - `id` string
  - `name` string
  - `userId` string
  - `status` 'PENDING' | 'IN_PROGRESS' | 'DONE' | 'FAILED'
  - `errors` JobError[]
    - `error` string
    - `lineNumber` integer
    - `column` string
    - `input` string
  - `inputKey` string
  - `outputKey` string
  - `start` string, date-time
  - `lastUpdated` string, date-time

## Other responses

- `400`: Invalid request parameters
- `401`: Unauthorized
- `404`: Not found
- `412`: Invalid month or year

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
