Get Request
GET
/v1/oauth/requests/{request_id}
const url = 'https://api.supposing.app/v1/oauth/requests/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.supposing.app/v1/oauth/requests/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0A pending connection, for the consent page.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”request_id
required
Request Id
string format: uuid
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
OAuthRequest
object
id
required
Id
string format: uuid
client_id
required
Client Id
string
client_name
required
Client Name
string
client_kind
required
Client Kind
Cimd: the client is identified by a URL we fetched; dcr: self-registered.
string
client_host
required
localhost_only
required
Localhost Only
Every redirect URI is on this computer (localhost): the client is a program running locally, which any program can claim to be.
boolean
redirect_host
required
Redirect Host
Where the browser goes after you approve. Show it to the person.
string
scope
required
Scope
Array<string>
access
required
Access
What approving lets the client do, in plain words.
Array<string>
org_id
required
Org Id
string format: uuid
org_name
required
Org Name
string
expires_at
required
Expires At
string format: date-time
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "client_id": "example", "client_name": "example", "client_kind": "example", "client_host": "example", "localhost_only": true, "redirect_host": "example", "scope": [ "example" ], "access": [ "example" ], "org_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "org_name": "example", "expires_at": "2026-04-15T12:00:00Z"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}