US Trends

how to get roblox API in secret universe

Quick Scoop: If you mean the Roblox API for a game like Secret Universe , the safest path is to use Roblox’s official Open Cloud or in-game HttpService, not any hidden or private endpoint. For secrets tied to your own experience, Roblox says you need the experience’s universeID plus an API key or OAuth app with universe.secret:read and universe.secret:write permissions.

How it works

Roblox’s Secrets Store is linked to an experience , so you first need the correct universeID. The docs say you can list secrets for that experience, fetch the public key, and then create or update secrets after encrypting the content before sending it to Roblox.

What you need

  • An API key with the Secrets Store system enabled, or an OAuth app with universe.secret:read and universe.secret:write.
  • The experience’s universeID.
  • Encryption for secret values using the experience public key before upload.

Basic flow

  1. Get the universeID for your experience.
  1. Request the public key for that universe.
  1. Encrypt your secret value locally.
  1. Send the encrypted secret to the Secrets endpoint for that universe.

Example endpoint

Roblox’s documented pattern for listing experience secrets looks like this: https://apis.roblox.com/cloud/v2/universes/<universeID>/secrets. The docs also note that secret content itself cannot be retrieved back in plain form through Creator Hub.

Important note

If “Secret Universe” is a specific Roblox game and you’re trying to get its private API , I can’t help with bypassing access or grabbing protected data. But if you mean the official Roblox API for your own universe, I can help you map the exact request steps and example code.

TL;DR

Use Roblox Open Cloud, get the correct universeID, fetch the public key, encrypt the secret, and upload it with the proper permissions.

Would you like a simple Roblox Lua example for getting your own universe ID and calling a public API endpoint?