curl --request POST \
--url https://api.trychart.com/client-links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {},
"settings": {
"flowType": "full",
"transcripts": {
"ACTR": [
"<string>"
],
"RECA": [
"<string>"
],
"WAID": [
"<string>"
],
"VENF": [
"<string>"
],
"W2": [
"<string>"
],
"1095-A": [
"<string>"
],
"NOTICE": [
"<string>"
]
},
"prefillData": {
"personalInfo": {
"firstName": "John",
"lastName": "Doe",
"ssn": "123456789"
},
"businessInfo": {
"name": "Test, Inc.",
"taxId": "123456789",
"type": "S-Corporation",
"phone": "1112223344",
"title": "Chief Executive Officer"
},
"address": {
"street": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94101",
"other": "Apt 1"
}
}
}
}
'{
"url": "https://dashboard.trychart.com/c/1234567890",
"id": "cm3tj5p2g000e674soxr2brbl"
}Create a custom client link.
curl --request POST \
--url https://api.trychart.com/client-links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {},
"settings": {
"flowType": "full",
"transcripts": {
"ACTR": [
"<string>"
],
"RECA": [
"<string>"
],
"WAID": [
"<string>"
],
"VENF": [
"<string>"
],
"W2": [
"<string>"
],
"1095-A": [
"<string>"
],
"NOTICE": [
"<string>"
]
},
"prefillData": {
"personalInfo": {
"firstName": "John",
"lastName": "Doe",
"ssn": "123456789"
},
"businessInfo": {
"name": "Test, Inc.",
"taxId": "123456789",
"type": "S-Corporation",
"phone": "1112223344",
"title": "Chief Executive Officer"
},
"address": {
"street": "123 Main St",
"city": "San Francisco",
"state": "CA",
"zip": "94101",
"other": "Apt 1"
}
}
}
}
'{
"url": "https://dashboard.trychart.com/c/1234567890",
"id": "cm3tj5p2g000e674soxr2brbl"
}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
Custom metadata identifying external fields about the taxpayer. This is useful for keeping track of external information about the taxpayer such as user IDs from other systems.
Show child attributes
full, personal, business, irs-8821, irs-online-account, irs-8821-personal, irs-8821-business, irs-8821-no-kyc, irs-8821-no-kyc-personal, irs-8821-no-kyc-business, irs-online-account-business, full-irs-online-account, full-irs-online-account-combined, full-irs-online-account-business, irs-online-verify-first, irs-online-verify-first-business, tax-prep, irs-8821-and-online-account, irs-8821-and-online-account-personal, irs-8821-and-online-account-business Show child attributes
4444444Show child attributes
Show child attributes
Alpha string value with a limit of 50 characters. Only hyphens (-) and spaces are allowed as special characters.
1 - 50"John"
Alpha string value with a limit of 50 characters. Only hyphens (-) and spaces are allowed as special characters.
1 - 50"Doe"
Full SSN of the taxpayer. Required for non-business form 8821 submissions.
9"123456789"
Show child attributes
1"Test, Inc."
EIN or SSN of the taxpayer
9"123456789"
S-Corporation, C-Corporation, Sole Proprietorship, Partnerships "1112223344"
Managing Member, Partner, Limited Partner, Director, Chief Accounting Officer, Chief Executive Officer, Chief Operating Officer, Chief Financial Officer, President, Vice President, Secretary, Treasurer, Assistant Treasurer, Controller, Owner, Sole Proprietor, Executor, Beneficiary, Trustee, Administrator "Chief Executive Officer"
Show child attributes
1"123 Main St"
1"San Francisco"
1"CA"
1"94101"
"Apt 1"
Was this page helpful?