API Access
User ID
API Key
How to Use
Construct a JSON request
const req = { userId: <User ID> }
Create a JSON Web Token
const token = jwt.sign(req, apiKey)
Send the Request
fetch('https://us-central1-ohyay-prod-d7acf.cloudfunctions.net/ohyayapi/list-workspaces', { method: 'POST', headers: { 'Content-Type': 'text/plain' }, body: token, })
Try It
Endpoint
Request