Get consent screen details
Get Consent Screen Details
Validates an OAuth application and returns the details PostQueen shows on the consent screen. The consent page at https://app.postqueen.ai/oauth/authorize calls this endpoint, so you normally redirect the user to that page instead of calling this yourself. It is useful for checking that a client_id is valid.
This endpoint lives outside /public/v1 and takes no API key.
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
Your app's Client ID (starts with pca_)
Must be code. No other response type is supported.
Available options:
code An opaque value echoed back in the response and in the redirect to your app. Use a random value to protect against CSRF.