Detect Fields
curl --request POST \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/contract_templates/{id}/detect_fields \
--header 'api_access_token: <api-key>'const options = {method: 'POST', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/contract_templates/{id}/detect_fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/contract_templates/{id}/detect_fields"
headers = {"api_access_token": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"fields": [
{}
]
}{}Contract Templates
Detect Fields
Detect form fields (AcroFields) in the PDF document of a template
POST
/
api
/
v1
/
accounts
/
{account_id}
/
contract_templates
/
{id}
/
detect_fields
Detect Fields
curl --request POST \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/contract_templates/{id}/detect_fields \
--header 'api_access_token: <api-key>'const options = {method: 'POST', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/contract_templates/{id}/detect_fields', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/contract_templates/{id}/detect_fields"
headers = {"api_access_token": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"fields": [
{}
]
}{}