Sender identities

BoldSign allows you to perform various operations on behalf of another user. For example, you can send a document to the signer on behalf of another user. The operations like sending documents, download audit log, revoke, remind, change access code, etc., can be performed on behalf of.

To perform on behalf of operations, the sender identity should be added and approved. Add the user as a sender identity, and then the user will get an email for approval. Once the user approves the request, you can perform operations on behalf of that user.

This section demonstrates how to create a sender identity, update the identity, delete an identity, list all the identities, request for approval, and resend the invitation.

Create identity

post/v1/senderIdentities/create

Creates a new sender identity by taking the name and email address. Multiple sender identities can be created.

Code snippet

curl -X 'POST' \
  'https://api.boldsign.com/v1/senderIdentities/create' \
  -H 'accept: */*' \
  -H 'X-API-KEY: {your API key}' \
  -H 'Content-Type: application/json;odata.metadata=minimal;odata.streaming=true' \
  -d '{
  "name": "Luther Cooper",
  "email": "luthercooper@cubeflakes.com",
  "redirectUrl": "https://boldsign.com",
  "brandId": "c94d34e9-8f1f-4ab1-926d-daa32095a851",
  "notificationSettings": {
    "viewed": true,
    "sent": false,
    "deliveryFailed": true,
    "declined": true,
    "revoked": true,
    "reassigned": true,
    "completed": true,
    "signed": true,
    "expired": true,
    "authenticationFailed": true,
    "reminders": true
  }
}'
var apiClient = new ApiClient("https://api.boldsign.com", "{your API key}");
var senderIdentityClient = new SenderIdentityClient(apiClient);
NotificationSettings notificationSettings = new NotificationSettings();
notificationSettings.Viewed = true;
notificationSettings.Sent = false;
notificationSettings.DeliveryFailed = true;
notificationSettings.Declined = true;
notificationSettings.Revoked = true;
notificationSettings.Reassigned = true;
notificationSettings.Completed = true;
notificationSettings.Signed = true;
notificationSettings.Expired = true;
notificationSettings.AuthenticationFailed = true;
notificationSettings.Reminders = true;
var senderIdentityRequest = new SenderIdentityRequest("Luther Cooper", "luthercooper@cubeflakes.com", notificationSettings, "c94d34e9-8f1f-4ab1-926d-daa32095a851", "https://boldsign.com");
var senderIdentityCreated = senderIdentityClient.CreateSenderIdentity(senderIdentityRequest);
import requests
url = "https://api.boldsign.com/v1/senderIdentities/create"
payload = "{ \"name\": \"Luther Cooper\", \"email\": \"luthercooper@cubeflakes.com\", \"notificationSettings\": { \"viewed\": true, \"sent\": false, \"deliveryFailed\": true, \"declined\": true, \"revoked\": true, \"reassigned\": true, \"completed\": true, \"signed\": true, \"expired\": true, \"authenticationFailed\": true, \"reminders\": true, \"brandId\": \"c94d34e9-8f1f-4ab1-926d-daa32095a851\", \"redirectUrl\": \"https://boldsign.com\" }"
headers = {
          'accept': '*/*',
          'X-API-KEY': '{your API key}',
          'Content-Type': 'application/json;odata.metadata=minimal;odata.streaming=true'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
const axios = require('axios');
const response = await axios.post(
  'https://api.boldsign.com/v1/senderIdentities/create',
  {
    name: 'Luther Cooper',
    email: 'luthercooper@cubeflakes.com',
    redirectUrl: 'https://boldsign.com',
    brandId: 'c94d34e9-8f1f-4ab1-926d-daa32095a851',
    notificationSettings: {
      viewed: true,
      sent: false,
      deliveryFailed: true,
      declined: true,
      revoked: true,
      reassigned: true,
      completed: true,
      signed: true,
      expired: true,
      authenticationFailed: true,
      reminders: true,
    },
  },
  {
    headers: {
      accept: '*/*',
      'X-API-KEY': '{your API key}',
      'Content-Type': 'application/json;odata.metadata=minimal;odata.streaming=true',
    },
  }
);

Request body

namestringRequiredName of the sender identity.
emailstringRequiredEmail address of the sender identity.
redirectUrlstringYou can set this property to redirect to a specific URL once the user has either approved or rejected.
brandIdstringYou can customize the logo, colors, and other elements of the emails to match your company branding, and the brand logo will appear on the approval page. The ID of the existing brand can be obtained from the branding API or the web app.

notificationSettingsobject

Notification Settings of the sender identity.

viewedbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the document is viewed.
sentbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the document is sent.
deliveryFailedbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the delivery is failed.
declinedbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the document is declined.
revokedbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the document is revoked.
reassignedbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the document is reassigned.
completedbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the document is completed.
signedbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the document is signed.
expiredbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the document is expired.
authenticationFailedbooleanWhen it is enabled, an email will be automatically sent to the sender identity email address if the authentication is failed for the document.
remindersbooleanWhen it is enabled, all reminder email will be automatically sent to the sender identity email address.

Example response

201 Created