List
List
Lists all Form W-2G returns created and transmitted on the account for a specific Submission or Payer. The Form W-2G returns will be displayed based on the filters provided in the request. You can apply filters depending on the business or recipient flow using the following parameters: BusinessId, PayerRef, TIN, or RecipientId, PayeeRef, RecipientNm, RecipientTIN, and MaskedTIN.
GET FormW2G/List Request Params
| Field | Type | Description |
|---|---|---|
| SubmissionId | Guid | Unique identifier of a submission |
| BusinessId | Guid | Unique identifier of a business |
| TIN | string | List the W2 G records based on the given TIN. |
| TaxYear | string | List the W2 G records based on the given tax year. Allowed values"2023","2024","2025" |
| RecipientId | Guid | Optional Unique ID generated for each recipient after the return is created and returned in the Response. |
| PayeeRef | string | A unique identifier for each recipient. Size Range: 1-50 |
| RecipientNm | string | Name of the recipient Size Range: ..75 |
| RecipientTIN | string | TIN of the recipient (Either EIN or SSN) Size Range: 9-11 |
| MaskedTIN | string | Last four digits of the recipient TIN Size Range: 4 |
| Page | number | Pulls the records listed in the page selected |
| PageSize | number | Number of W2 G records to be listed in each page. Note: PageSize can be maximum of 100. |
| EfileStatus | string | List the W2 G records based on the status Allowed values"CREATED, UNDERPROCESS, SENTTOAGENCY, TRANSMITTED, ACCEPTED, REJECTED" |
| FromDate | string | Enter a date from which the Form W2-G records need to be listed in MM/DD/YYYY format. |
| ToDate | string | Enter a date till which the W2-G records created are to be listed in MM/DD/YYYY format. |
Response Body
| Field | Type | Description |
|---|---|---|
| StatusCode | number | Returns the HTTP status codes like 200,300 etc. |
| StatusName | string | Name of the status code |
| StatusMessage | string | Detailed status message |
| Form1099Type | string | Denotes the type of W2G form. |
| Form1099Records | object[] | Returns detailed information of the Form W2 G records. |
| SubmissionId | Guid | Unique identifier of a submission |
| BusinessId | Guid | Unique identifier of a business |
| PayerRef | string | Unique identifier of the payer. |
| BusinessNm | string | Name of the business |
| FirstNm | string | First Name of the individual |
| MiddleNm | string | Middle Name of the Individual |
| LastNm | string | Last Name of the Individual |
| Suffix | string | Suffix of the CoveredIndividuals |
| EINorSSN | string | When IsEIN is true, use Employer Identification Number (EIN). When IsEIN is false, use Social Security Number (SSN) |
| ContactNm | string | Contact Name of the Business. |
| TaxYear | string | Tax year of W2 G to be filed. |
| Recipient | object | Details of the Recipient. |
| SequenceId | string | A unique reference ID for the submission that can be used to identify a particular record. The Sequence ID will be returned in the Response for your reference. |
| RecordId | Guid | A unique identifier generated by TaxBandits when a W2-G return is created. |
| RecipientId | Guid | A unique identifier generated by TaxBandits for a Recipient when a W2-G return is created. You can use this id for your future reference to Update. |
| PayeeRef | string | A unique identifier for each payee completing their information. |
| RecipientNm | Boolean | Name of Recipient. |
| FirstNm | string | First Name of the individual |
| MiddleNm | string | Middle Name of the Individual |
| LastNm | string | Last Name of the Individual |
| Suffix | string | Suffix of the Individual |
| TIN | string | TIN of the Recipient. |
| FederalReturn | object | Returns the record status and StatusTs of federal return service for Form W2-G. |
| Status | string | Returns the record status. |
| StatusTs | string | Returns date and time of return created. |
| Info | string | Returns information about the Federal Filing service. |
| Errors | object[] | Shows detailed error information. |
| Postal | object | Returns the status and StatusTs of postal mailing service for Form W2-G. |
| Status | string | Returns the status of postal order. |
| StatusTs | string | Returns the date and time of the postal order created. |
| Info | string | Returns the information about Postal mailing service. |
| OnlineAccess | object | Returns the Email address for whom the online access to be given and Status of online access. |
| Status | string | Returns status of online access for Form W2-G return. |
| string | Email address for whom the online access to be given. | |
| Info | string | Information about the online access service. |
| Page | number | Pulls the records listed in the page selected |
| TotalRecords | number | Total number of records. |
| TotalPages | number | Total number of pages. |
| PageSize | number | Number of 1099 G records to be listed in each page. |
| Errors | object[] | Shows detailed error information |
| Id | string | Returns the validation error id |
| Name | string | Name of the validation error |
| Message | string | Description of the validation error |
Request Params
"Formw2G/List?SubmissionId=1abc3bc8-a3dc-499e-9e28-f25c0c458f32&BusinessId=1abc3bc8-a3dc-499e-9e28-f25c0c458f32&PayerRef=Payer001&TIN=758473546&TaxYear=2024&RecipientId=1abc3bc8-a3dc-499e-9e28-f25c0c458f32&PayeeRef=Payee001&RecipientNm=Martin Miller&RecipientTIN=8364534253&MaskedTIN=5634"
Response JSON
- 200
- 400
- 404
- 401
Success Response - This is a sample response for successful API requests.
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"Form1099Type": "W2G",
"Form1099Records": [
{
"SubmissionId": "0562f158-def1-45cb-973e-c3109605375f",
"BusinessId": "64f0b21e-c062-4721-ade2-f9194ed3a862",
"PayerRef": "Pe1234",
"BusinessNm": "Snowdaze LLC",
"FirstNm": null,
"LastNm": null,
"MiddleNm": null,
"Suffix": null,
"IsEIN": true,
"EINorSSN": "62-7369245",
"ContactNm": null,
"TaxYear": "2025",
"Recipient": {
"SequenceId": "1",
"RecordId": "8da3046e-3270-491e-ae2d-674ad277fec4",
"RecipientId": "30f876b8-80d8-4db3-9330-8e1c0109f127",
"RecipientNm": "Stephen Davis",
"FirstNm": null,
"LastNm": null,
"MiddleNm": null,
"Suffix": null,
"TINType": "EIN",
"TIN": "39-3817572",
"PayeeRef": null,
"FederalReturn": {
"Status": "CREATED",
"StatusTs": "2025-10-23 08:39:03 -04:00",
"Info": null,
"Errors": null
},
"StateReturns": {
"StateCd": "CA",
"Status": "CREATED",
"StatusTs": "2025-10-23 08:39:03 -04:00",
"Info": null,
"Errors": null
},
"Postal": {
"Status": "CREATED",
"StatusTs": "2025-10-23 08:39:03 -04:00",
"Info": null
},
"OnlineAccess": {
"Status": "CREATED",
"Email": "mark+32@sample.com",
"Info": null
},
"ScheduleFiling": null
}
}
],
"Page": 1,
"TotalRecords": 1,
"TotalPages": 1,
"PageSize": 500,
"Errors": null
}
Bad Request Response - You'll get the below response when your API requests contain any validation errors.
{
"StatusCode": 400,
"StatusName": "BadRequest",
"StatusMessage": "Validation error has occurred",
"Form1099Type": null,
"Form1099Records": null,
"Page": 0,
"TotalRecords": 0,
"TotalPages": 0,
"PageSize": 0,
"Errors": [
{
"Id": "F04-100215",
"Name": "FromDate",
"Message": "FromDate is required in the date format (MM/dd/yyyy) or (MM-dd-yyyy)"
}
]
}
Not Found Response - You'll get the below response if your API request contains a record that's not found in our database.
{
"StatusCode": 404,
"StatusName": "NotFound",
"StatusMessage": "The resource you have specified cannot be found",
"Form1099Type": null,
"Form1099Records": null,
"Page": 0,
"TotalRecords": 0,
"TotalPages": 0,
"PageSize": 0,
"Errors": [
{
"Id": "F00-100147",
"Name": "NotFound",
"Message": "No records found"
}
]
}
Unauthorized Response - You'll get the below response when your API requests don't contain valid authentication credentials.
{
"StatusCode": 401,
"StatusName": "Unauthorized",
"StatusMessage": "Invalid authorization credentials",
"Errors": [
{
"Id": "AUTH-100018",
"Name": "Authorization",
"Message": "JWT EXPIRED"
}
]
}