<%= render 'shared/settings_nav' %>

API

<%= render 'shared/clipboard_copy', text: jwt, class: 'base-button', icon_class: 'w-6 h-6 text-white', copy_title: 'Copy', copied_title: 'Copied' %>
Request signature, single submitter
POST
<%= api_submissions_path %>
curl --location '<%= api_submissions_url %>' \
       --header 'X-Auth-Token: <%= jwt %>' \
       --data-raw '{
           "template_id": <%= current_account.templates.last.id %>,
           "emails":  "<%= current_user.email.sub('@', '+test@') %>, <%= current_user.email.sub('@', '+test2@') %>"
       }'
Request signature, multiple submitters
POST
<%= api_submissions_path %>
curl --location '<%= api_submissions_url %>' \
       --header 'X-Auth-Token: <%= jwt %>' \
       --data-raw '{
         "template_id": <%= current_account.templates.last.id %>,
         "submission": [
           {
             "submitters": [
               { "name": "<%= current_account.templates.last.submitters.first['name'] %>", "email": "<%= current_user.email.sub('@', '+test@') %>" },
               { "name": "Second Submitter", "email": "<%= current_user.email.sub('@', '+test2@') %>" }
             ]
           }
         ]
       }'