cURL
curl --request POST \ --url https://use.hoop.dev/api/sessions/approved \ --header 'Content-Type: application/json' \ --data ' { "connection": "pgdemo", "user_email": "johnwick@bad.org", "access_duration_sec": 123, "approved_reviewers": [ "<string>" ], "client_args": [ "<string>" ], "env_vars": {}, "jira_fields": {}, "metadata": {}, "script": "<string>" } '
{ "has_review": false, "session_id": "5701046A-7B7A-4A78-ABB0-A24C95E6FE54", "user_email": "johnwick@bad.org" }
Documentation IndexFetch the complete documentation index at: https://hoopdev-docs-concepts-gaps-and-organization.mintlify.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://hoopdev-docs-concepts-gaps-and-organization.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The request body resource
"pgdemo"
"johnwick@bad.org"
Show child attributes
The session has been created
false
"5701046A-7B7A-4A78-ABB0-A24C95E6FE54"
Was this page helpful?