curl --request PUT \
--url https://sandbox.circularo.com/api/v1/configuration/images \
--header 'Authorization: Bearer <token>' \
--form 'initialsData[0][imageId]=s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj' \
--form 'initialsData[0][name]=My image' \
--form 'photo=@document.pdf' \
--form 'signaturesData[0][imageId]=s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj' \
--form 'signaturesData[0][name]=My image'{
"delegation": {
"activationNotificationSent": false,
"deactivationNotificationSent": false,
"time": {
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
},
"user": "jane.doe@example.com"
},
"initials": [
{
"imageId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "Full signature"
}
],
"language": "en",
"navigationOpen": true,
"notifications": {
"enableAlerts": true,
"inApp": [
"shareForSign"
],
"mail": [
"shareForSign"
],
"push": [
"shareForSign"
]
},
"photo": {
"big": "<string>",
"medium": "<string>",
"nano": "<string>",
"small": "<string>"
},
"scheduler": true,
"signature": [
{
"imageId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "Full signature"
}
],
"view": "tableView"
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Upload your profile photo, signatures and initials
PUT /configuration/images
Replaces any combination of the calling user’s profile photo, signature images and initials images in one request, and answers with the resulting preference block. Signatures and initials are what gets stamped into a document when you sign or initial it; the photo is only shown in the interface.
The photo travels as multipart file content, while signatures and initials reference files uploaded beforehand. A tenant can lock the profile photo, and changing it is then refused for everyone but an administrator - the signature and initials sets are not covered by that lock. To clear a set rather than replace it, use DELETE /configuration/signature or DELETE /configuration/initials.
Token authorization: Authorize using a token — either a session token obtained from login or an API key — to call this endpoint.
Required user rights: update_personal_profile
curl --request PUT \
--url https://sandbox.circularo.com/api/v1/configuration/images \
--header 'Authorization: Bearer <token>' \
--form 'initialsData[0][imageId]=s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj' \
--form 'initialsData[0][name]=My image' \
--form 'photo=@document.pdf' \
--form 'signaturesData[0][imageId]=s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj' \
--form 'signaturesData[0][name]=My image'{
"delegation": {
"activationNotificationSent": false,
"deactivationNotificationSent": false,
"time": {
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
},
"user": "jane.doe@example.com"
},
"initials": [
{
"imageId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "Full signature"
}
],
"language": "en",
"navigationOpen": true,
"notifications": {
"enableAlerts": true,
"inApp": [
"shareForSign"
],
"mail": [
"shareForSign"
],
"push": [
"shareForSign"
]
},
"photo": {
"big": "<string>",
"medium": "<string>",
"nano": "<string>",
"small": "<string>"
},
"scheduler": true,
"signature": [
{
"imageId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "Full signature"
}
],
"view": "tableView"
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Body
Response
Returns the updated preference block of the user.