# Motoko: request id

**URL:** <https://forum.dfinity.org/t/motoko-request-id/16123>\
**Category:** Language Support\
**Tags:** Motoko\
**Created:** [October 24, 2022, 6:19pm UTC](https://forum.dfinity.org/t/motoko-request-id/16123 "2022-10-24T18:19:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![skilesare](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/skilesare/32/5609_2.png) [@skilesare](https://forum.dfinity.org/u/skilesare)\
**Post date:** [October 24, 2022, 6:19pm UTC](https://forum.dfinity.org/t/motoko-request-id/16123/1 "2022-10-24T18:19:12Z")

</div>

Has anyone converted [agent-js/request\_id.ts at 65e17f988cf4f910fa20fc105174ad238594920c · dfinity/agent-js · GitHub](https://github.com/dfinity/agent-js/blob/65e17f988cf4f910fa20fc105174ad238594920c/packages/agent/src/request_id.ts) into Motoko? Is it open-sourced?

This code produces the RequestID that a user needs to sign to submit a request to the internet computer.

---

<div class="post-metadata">

**Author:** ![cryptoschindler](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/cryptoschindler/32/26_2.png) [@cryptoschindler](https://forum.dfinity.org/u/cryptoschindler)\
**Post date:** [October 26, 2022, 6:37am UTC](https://forum.dfinity.org/t/motoko-request-id/16123/2 "2022-10-26T06:37:55Z")

</div>

What do you need this for? Isn’t it transparent to the user when coding in motoko?

---

<div class="post-metadata">

**Author:** ![skilesare](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/skilesare/32/5609_2.png) [@skilesare](https://forum.dfinity.org/u/skilesare)\
**Post date:** [October 26, 2022, 11:13am UTC](https://forum.dfinity.org/t/motoko-request-id/16123/3 "2022-10-26T11:13:03Z")

</div>

I’m trying to send a request from the IC to the IC via the HTTP outcalls. We are trying to sign a delegation using the certificate and need to call a query to pull in the cert.
