Skip to main content
GET
Get consent screen details
You are building the consent step and you want to know whether the client_id you are holding is real before you send anyone anywhere. This is the call that tells you. PostQueen’s own consent page calls it too. Redirecting a user to https://app.postqueen.ai/oauth/authorize is the normal path, and that page hits this endpoint to draw your app’s name, description and picture on the screen they approve. Walk the whole flow on OAuth2 Authentication.
This endpoint sits outside /public/v1 and takes no API key. A client_id that does not resolve comes back as a 400 reading Invalid client_id.

Query Parameters

client_id
string
required

Your app's Client ID (starts with pca_)

response_type
enum<string>
required

Must be code. No other response type is supported.

Available options:
code
state
string

An opaque value echoed back in the response and in the redirect to your app. Use a random value to protect against CSRF.

Response

The OAuth application is valid

app
object
state
string

The state you sent, echoed back. Absent if you did not send one.