# How to verify single signature with "low-level" API?

**URL:** <https://community.apryse.com/t/how-to-verify-single-signature-with-low-level-api/10514>\
**Category:** Apryse SDK\
**Tags:** java, api\
**Created:** [September 9, 2024, 8:38pm UTC](https://community.apryse.com/t/how-to-verify-single-signature-with-low-level-api/10514 "2024-09-09T20:38:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlednik](https://community.apryse.com/user_avatar/community.apryse.com/dlednik/32/3509_2.png) [@dlednik](https://community.apryse.com/u/dlednik)\
**Post date:** [September 9, 2024, 8:38pm UTC](https://community.apryse.com/t/how-to-verify-single-signature-with-low-level-api/10514/1 "2024-09-09T20:38:58Z")

</div>

I’ve been reading this: [Verify-pdf | Apryse Documentation](https://docs.apryse.com/documentation/core/guides/features/signature/verify-pdf/)

And there is a section:

> We offer a higher-level document-based API for verifying signatures, as well as a lower-level per-signature API.

Is there an example of how to use this lower-level signature API in java script. I want to trigger signature verification, but for a single signature with this low-level API. How can I do that?

---

<div class="post-metadata">

**Author:** ![ejohnson](https://community.apryse.com/letter_avatar_proxy/v4/letter/e/a3d4f5/32.png) [@ejohnson](https://community.apryse.com/u/ejohnson)\
**Post date:** [September 9, 2024, 9:23pm UTC](https://community.apryse.com/t/how-to-verify-single-signature-with-low-level-api/10514/2 "2024-09-09T21:23:03Z")

</div>

Thank you for posting your question to our forum. We will provide you with an update as soon as possible.

---

<div class="post-metadata">

**Author:** ![swijeratne](https://community.apryse.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@swijeratne](https://community.apryse.com/u/swijeratne)\
**Post date:** [September 9, 2024, 10:51pm UTC](https://community.apryse.com/t/how-to-verify-single-signature-with-low-level-api/10514/3 "2024-09-09T22:51:14Z")

</div>

Hello,

While that example showcases the ability to verify all signatures, it is possible to verify a single signature with our API. Please refer to the [sample here](https://docs.apryse.com/documentation/samples/node/js/DigitalSignaturesTest/) for some example code using our [Node JS SDK](https://docs.apryse.com/documentation/core/guides/get-started/nodejs/).

---

<div class="post-metadata">

**Author:** ![dlednik](https://community.apryse.com/user_avatar/community.apryse.com/dlednik/32/3509_2.png) [@dlednik](https://community.apryse.com/u/dlednik)\
**Post date:** [September 10, 2024, 5:38am UTC](https://community.apryse.com/t/how-to-verify-single-signature-with-low-level-api/10514/4 "2024-09-10T05:38:09Z")

</div>

Hi,

I’m aware of those samples and I have already implemented that part in our product.  
But as far as I can see the sample you provided does not have any code for single signature verification.

I need to verify single signature and I’m asking for sample code for that.  
Like I said in the initial message, in the docs you mention lower-level API to verify single signature,  
How do you use this lower-level API?

regards

---

<div class="post-metadata">

**Author:** ![swijeratne](https://community.apryse.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@swijeratne](https://community.apryse.com/u/swijeratne)\
**Post date:** [September 10, 2024, 2:59pm UTC](https://community.apryse.com/t/how-to-verify-single-signature-with-low-level-api/10514/5 "2024-09-10T14:59:21Z")

</div>

The `VerifyAllAndPrint ` function in our sample code has a for loop that iterates through each signature field and verifies it. You may modify that code to check a specific signature field in a document. This sample code is what the documentation was referring to as our lower-level API.

If this is not helpful, can I get a better understanding of your applications workflow and why you are looking to verify a single signature?

---

<div class="post-metadata">

**Author:** ![dlednik](https://community.apryse.com/user_avatar/community.apryse.com/dlednik/32/3509_2.png) [@dlednik](https://community.apryse.com/u/dlednik)\
**Post date:** [September 11, 2024, 3:08am UTC](https://community.apryse.com/t/how-to-verify-single-signature-with-low-level-api/10514/6 "2024-09-11T03:08:56Z")

</div>

Was not clear to me from the sample that it is leveraging low-level API 🙂  
That is what I was looking for, Thank you!

regards

---

<div class="post-metadata">

**Author:** ![swijeratne](https://community.apryse.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@swijeratne](https://community.apryse.com/u/swijeratne)\
**Post date:** [September 11, 2024, 4:37pm UTC](https://community.apryse.com/t/how-to-verify-single-signature-with-low-level-api/10514/7 "2024-09-11T16:37:18Z")

</div>

Great, thanks for letting us know that it works for you! Please let us know if you have any further questions.
