POST
/
providers
/
irs
/
f8821
/
upload
/
{documentId}
cURL
curl --request POST \
  --url https://api.trychart.com/providers/irs/f8821/upload/{documentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "access_token": "<string>",
  "taxpayer_id": "<string>",
  "provider_id": "<string>"
}

Authorizations

Authorization
string
header
required

Please use base64 encoded client_id:client_secret. You can use this command to generate the base64 encoded string: echo -n 'client_id:client_secret' | base64

Path Parameters

documentId
string
required

The document ID returned from the unsigned form generation endpoint

Body

multipart/form-data
file
file

The signed PDF file to upload

Response

Successfully uploaded signed form

access_token
string

Access token for the created taxpayer

taxpayer_id
string

ID of the created taxpayer

provider_id
string

ID of the provider (irs_tax_pro)