Set up your account
Before you start, see the First document use case to set up your platform account and get the API key. You also need a contract with recipients and placeholders. See Create recipients and Create placeholder.Get the recipient key
Request the list of the contract’s recipients. Learn more here.cURL
recipientKey. This is the value you pass as externalRecipientKey.
Get the placeholder key
Request the list of the contract’s placeholders. Learn more here.cURL
placeholderKey of the placeholder you want to assign. It is the same key that the editor shows at the bottom of the placeholder settings.
Assign the placeholder
To a specific recipient:cURL
"fillingType": 2 instead.
To unassign the placeholder, send "fillingType": 1 together with "externalRecipientKey": null.
A field left out of an update request keeps its current value, so without null the previous recipient stays stored.
Check the result
Request the list of placeholders again. Each placeholder in the response hasfillingType and externalRecipientKey:
json