This documentation aims to provide all the information you need to work with our API.
To authenticate requests, include an Authorization
header with the value "Bearer {YOUR_AUTH_KEY}"
.
All authenticated endpoints are marked with a requires authentication
badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
This endpoint gives you a list of all your company's contacts
curl --request GET \
--get "https://app.ugosign.com/api/v1/contacts" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint allows you to create a new contact
curl --request POST \
"https://app.ugosign.com/api/v1/contacts" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"given_name\": \"Michel\",
\"family_name\": \"BLANC\",
\"gender\": \"maxime\",
\"email\": \"test@ugosign.com\",
\"phone_number\": \"+33645854785\",
\"website\": \"https:\\/\\/ugosign.com\",
\"street\": \"24 RUE DU FAUBOURG SAINT HONORE\",
\"street_2\": \"Appartement 120\",
\"postal_code\": \"75008\",
\"position\": \"Engineer\",
\"birthdate\": \"1990-01-01\",
\"birthplace\": \"Lisbon\",
\"private_comment\": \"Plays tennis on Saturdays\",
\"organization_name\": \"Hermès\",
\"siret_number\": \"57207639600017\",
\"vat_number\": \"FR52572076396\",
\"rcs_number\": \"572 076 396 R.C.S. Paris\"
}"
This endpoint allows you to view existing contacts
The ID of the contact.
curl --request GET \
--get "https://app.ugosign.com/api/v1/contacts/9ce40b18-2c4d-480c-b848-06477fd9ad9e" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint allows you to update existing contacts
The ID of the contact.
curl --request PATCH \
"https://app.ugosign.com/api/v1/contacts/9ce40b18-2c4d-480c-b848-06477fd9ad9e" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"given_name\": \"Michel\",
\"family_name\": \"BLANC\",
\"email\": \"test@ugosign.com\",
\"phone_number\": \"+33645854785\",
\"street\": \"24 RUE DU FAUBOURG SAINT HONORE\",
\"street_2\": \"Appartement 120\",
\"city\": \"Paris\",
\"postal_code\": 75008,
\"private_comment\": \"Plays tennis on Saturdays\",
\"organization_name\": \"Hermès\",
\"siret_number\": \"57207639600017\",
\"vat_number\": \"FR52572076396\",
\"rcs_number\": \"572 076 396 R.C.S. Paris\"
}"
This endpoint allows you to delete contacts
The ID of the contact.
curl --request DELETE \
"https://app.ugosign.com/api/v1/contacts/9ce40b18-2c4d-480c-b848-06477fd9ad9e" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
This endpoint gives you a list of all your company's contracts
curl --request GET \
--get "https://app.ugosign.com/api/v1/contracts" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint allows you to get custom vars contract
The ID of the contract.
curl --request GET \
--get "https://app.ugosign.com/api/v1/contracts/9ce40b17-bb8a-404d-a667-074ea5834a00/customVars" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint allows you to view existing contracts
The ID of the contract.
curl --request GET \
--get "https://app.ugosign.com/api/v1/contracts/9ce40b17-bb8a-404d-a667-074ea5834a00" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint allows you to create a new contract
curl --request POST \
"https://app.ugosign.com/api/v1/contracts" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Certificat de formation\",
\"description\": \"Formation immobilière\",
\"content\": \"ratione\",
\"footer\": \"nemo\",
\"tags\": \"\\\"business,closed\\\"\",
\"author_id\": \"9b9da901-7bab-43ea-b6fb-4bba84cc5097\",
\"representative_id\": \"5a9da901-7bab-43ea-b6fb-4bba84cc5087\",
\"folder_id\": \"8e6ua901-7bab-43ea-b6fb-4bba84cc4444\",
\"confirm_customer_data\": true,
\"allow_refusal\": false,
\"initials\": false,
\"reminder\": 24
}"
This endpoint allows you to update existing contracts
The ID of the contract.
curl --request PATCH \
"https://app.ugosign.com/api/v1/contracts/9ce40b17-bb8a-404d-a667-074ea5834a00" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Certificat de formation\",
\"description\": \"Formation immobilière\",
\"content\": \"natus\",
\"footer\": \"molestiae\",
\"tags\": \"\\\"business,closed\\\"\",
\"author_id\": \"9b9da901-7bab-43ea-b6fb-4bba84cc5097\",
\"representative_id\": \"5a9da901-7bab-43ea-b6fb-4bba84cc5087\",
\"folder_id\": \"8e6ua901-7bab-43ea-b6fb-4bba84cc4444\",
\"confirm_customer_data\": true,
\"allow_refusal\": true,
\"initials\": true,
\"reminder\": 24
}"
This endpoint allows you to delete contracts
The ID of the contract.
curl --request DELETE \
"https://app.ugosign.com/api/v1/contracts/9ce40b17-bb8a-404d-a667-074ea5834a00" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
curl --request GET \
--get "https://app.ugosign.com/api/v1/envelopes/sint" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
The envelope.
curl --request GET \
--get "https://app.ugosign.com/api/v1/envelopes/9ce40b20-ce4a-4356-a517-667a96d302d0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint gives you a list of all your company's folders
curl --request GET \
--get "https://app.ugosign.com/api/v1/folders" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint allows you to create a new folder
curl --request POST \
"https://app.ugosign.com/api/v1/folders" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Invoices\",
\"parent_id\": \"aut\"
}"
This endpoint gives you a list of all your company's members
curl --request GET \
--get "https://app.ugosign.com/api/v1/members" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint gives you a list of all your company's representatives
curl --request GET \
--get "https://app.ugosign.com/api/v1/members/representatives" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint gives you an organization summary
curl --request GET \
--get "https://app.ugosign.com/api/v1/organization" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "Unauthenticated."
}
This endpoint allows you to create a new signature request
curl --request POST \
"https://app.ugosign.com/api/v1/signatures" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"contract_id\": \"5a9da901-7bab-43ea-b6fb-4bba84cc5087\",
\"recipients\": [
\"abcd@mail.com\",
\"defg@mail.com\"
],
\"initiator_id\": \"9b9da901-7bab-43ea-b6fb-4bba84cc5097\",
\"attachments\": \"voluptatem\",
\"message\": \"perspiciatis\",
\"verification_type\": 16,
\"expiration_date\": \"2024-11-03\",
\"confirm_customer_data\": false,
\"allow_refusal\": true,
\"initials\": false,
\"reminder\": 9,
\"organization_presence\": true,
\"written_text\": \"veniam\"
}"