Docs
Form Casa API documentation
Build 1099 filing into your product with OAuth authentication, clear validation, and endpoints for contacts, forms, corrections, PDFs, and TIN matching.
Forms
1099-NEC, 1099-MISC
Tax years
2020, 2021, 2022, 2023, 2024, 2025
PDF copies
recipient
Quickstart
Get a token, create a form, then fetch its PDF. Your Client ID and Secret are in Settings → Developer after you sign up.
-
1. Create an access token
Exchange your Client ID and Client Secret at
/api/v1/oauth/token.POST /api/v1/oauth/token curl -X POST "<BASE_URL>/api/v1/oauth/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d grant_type=client_credentials \ -d client_id=<CLIENT_ID> \ -d client_secret=<CLIENT_SECRET> -
2. Create a form
Send the payer, recipient, and box amounts. Reference existing contact IDs or include the contact fields inline. Set the ready flags to queue e-file and mail.
POST /api/v1/forms/f1099_nec curl -X POST "<BASE_URL>/api/v1/forms/f1099_nec" \ -H "Authorization: Bearer <access_token>" \ -H "Content-Type: application/json" \ -d '{ "tax_year": 2025, "payer": { "id": "<PAYER_CONTACT_ID>" }, "recipient": { "id": "<RECIPIENT_CONTACT_ID>" }, "box_values": { "box1": "1000.00", "box4": "0.00" }, "ready_to_efile": false, "ready_to_mail": false }' -
3. Fetch PDFs and correct forms
Use the
/pdfendpoint to download the recipient copy, and/correctto file a correction from an original form. Send anX-Request-Idheader on every request; the API returns a request ID you can share with support.
TIN matching without a form
Check a recipient's name and TIN with the IRS before you create a form. Create the payer and recipient with
/api/v1/contacts, then start a check with their IDs. Each check uses 1 credit when it is sent to the IRS,
and asking again for a recipient whose details have not changed returns the existing check at no cost.
curl -X POST "<BASE_URL>/api/v1/tin_matching_requests" \
-H "Authorization: Bearer <access_token>" \
-H "Content-Type: application/json" \
-d '{"payer_contact_id": "<PAYER_ID>", "recipient_contact_id": "<RECIPIENT_ID>"}'
{
"id": "<TIN_MATCHING_REQUEST_ID>",
"status": "pending",
"recipient_contact_id": "<RECIPIENT_ID>",
"failed_reason": null
}
- Poll
GET /api/v1/tin_matching_requests/:id.statusmoves frompendingtoprocessing, thenverifiedorfailed. - With a TIN notification webhook set up for your account, Form Casa POSTs
tin_matching_request_idandstatus(passorfail) when the check finishes. - The TIN is never included in responses.
Core endpoints
Start here, then see every parameter in the full API reference.
| Method | Path | Purpose |
|---|---|---|
| POST |
/api/v1/oauth/token
Create an OAuth access token with client credentials.
|
Create an OAuth access token with client credentials. |
| POST |
/api/v1/contacts
Create a payer or recipient contact for future filings.
|
Create a payer or recipient contact for future filings. |
| POST |
/api/v1/forms/f1099_nec
Create a 1099-NEC form and optionally queue e-file or mailing.
|
Create a 1099-NEC form and optionally queue e-file or mailing. |
| POST |
/api/v1/forms/f1099_misc
Create a 1099-MISC form and optionally queue e-file or mailing.
|
Create a 1099-MISC form and optionally queue e-file or mailing. |
| POST |
/api/v1/forms/:form_type/:id/correct
Create a correction form from a previously filed return.
|
Create a correction form from a previously filed return. |
| GET |
/api/v1/forms/:form_type/:id/pdf?identifier=recipient
Download the generated recipient PDF copy for a form.
|
Download the generated recipient PDF copy for a form. |
| POST |
/api/v1/tin_matching_requests
Check a recipient contact's name and TIN with the IRS, without creating a form.
|
Check a recipient contact's name and TIN with the IRS, without creating a form. |
| GET |
/api/v1/tin_matching_requests/:id
Get the status of a TIN check: pending, processing, verified, or failed.
|
Get the status of a TIN check: pending, processing, verified, or failed. |
Request conventions
- Authenticate with
Authorization: Bearer <access_token>. - Use
Content-Type: application/jsonfor JSON request bodies. - Pass
X-Request-Idfor traceability and support. - Errors return JSON with both
errorandrequest_id.
{
"error": "Validation failed: ...",
"request_id": "4cc2187c-5b59-4fd2-8ef7-4b868d431a27"
}
Validation rules that matter
- Supported TIN types: ein, ssn, itin.
einrequiresbusiness_name;ssnanditinrequire first and last name.street_addresshas a maximum of 40 characters, andfirst_namea maximum of 20.- US records require a state and a valid US postal code.
- A second uncorrected form for the same payer, recipient, form type, and tax year is rejected; file a correction instead.
Need every parameter?
The interactive API reference lists every endpoint, parameter, and response model.
Open the API reference