# Public http rpc

**URL:** https://forum.heroiclabs.com/t/public-http-rpc/5968
**Category:** Runtime Framework
**Tags:** sdk-unity, server-framework, golang
**Created:** [January 24, 2025, 4:28am UTC](https://forum.heroiclabs.com/t/public-http-rpc/5968 "2025-01-24T04:28:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![surajTLabs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/surajtlabs/32/1497_2.png) [@surajTLabs](https://forum.heroiclabs.com/u/surajTLabs)
#### Post date: [January 24, 2025, 4:28am UTC](https://forum.heroiclabs.com/t/public-http-rpc/5968/1 "2025-01-24T04:28:35Z")

</div>

I used server-to-server RPC calls from the client side also as unauthenticated public APIs. However, these calls require the `httpKey` in the request parameters.

Is there a way to create a public HTTP RPC in Nakama that doesn’t require an `httpKey`?

---

<div class="post-metadata">

### Author: ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)
#### Post date: [January 24, 2025, 5:08pm UTC](https://forum.heroiclabs.com/t/public-http-rpc/5968/2 "2025-01-24T17:08:05Z")

</div>

Hello @surajTLabs,

You can register custom http handlers (without auth or custom auth you have to implement yourself) with this new [register function](https://github.com/heroiclabs/nakama/blob/v3.25.0/sample_go_module/sample.go#L58).

This is only supported in Go and was introduced a couple of releases ago, so if you’re on an older one you may need to upgrade.

Best.

---

<div class="post-metadata">

### Author: ![surajTLabs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/surajtlabs/32/1497_2.png) [@surajTLabs](https://forum.heroiclabs.com/u/surajTLabs)
#### Post date: [January 29, 2025, 2:14pm UTC](https://forum.heroiclabs.com/t/public-http-rpc/5968/3 "2025-01-29T14:14:25Z")

</div>

Is this only available in Go runtime.?

---

<div class="post-metadata">

### Author: ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)
#### Post date: [January 29, 2025, 2:20pm UTC](https://forum.heroiclabs.com/t/public-http-rpc/5968/4 "2025-01-29T14:20:13Z")

</div>

Yes `registerHttp` is only available in the Go runtime.
