You can use the following API endpoints to programmatically apply any new branding specific to the signature content fields you’re creating or updating in your workflow:
Note: When using these endpoints, make sure to include the "white_labeling_options" parameter to enable white labeling options for branding.
If you're setting up premium branding as a one-time event for an app, we recommend using CURL to set it up. For example, if you wanted to update the colors of the primary button element in your signing workflow, you could use the following CURL to the Update API App endpoint:
1 curl -X PUT 'https://api.hellosign.com/v3/api_app/{client_id}' \
2 -u 'YOUR_API_KEY:' \
3 -F 'name=New Name' \
4 -F 'callback_url=http://example.com/dropboxsign' \
5 -F 'white_labeling_options[primary_button_color]=#00b3e6' \
6 -F 'white_labeling_options[primary_button_text_color]=#ffffff'
|
Note: You must replace "{client_id}” and “YOUR_API_KEY” with your information when making CURL requests.
This can also be accomplished programmatically by using the component codes found in the Dropbox Sign front-end library. To set this dynamically use Code Sample - how to set premium branding on the front-end.
Comments
0 comments
Article is closed for comments.