Each credential set shows the redirect_uri you must register in the platform
developer console, the scopes Dravo will request, and the allowlisted
allowed_return_urls. Secrets are never returned.
GET
/v1/oauth-appsAPI key (dra_…) or dashboard JWT
List saved platform credentials. Includes the redirect_uri to register, scopes Dravo will request, and allowed_return_urls.
AuthorizationstringheaderrequiredBearer token. Use a Dravo API key (`dra_…`) or a dashboard JWT.
platformstringqueryFilter by platform.
idstringOAuth app id.
platformstringPlatform this app authenticates.
namestringLabel you gave this app.
client_idstringoptionalYour platform app client id.
redirect_uristringBackend callback to register on your platform app.
scopesstring[]Scopes Dravo will request.
allowed_return_urlsstring[]Allowlisted return URLs for the Connect flow.
const response = await fetch("https://api.dravo.dev/v1/oauth-apps", { method: "GET", headers: { "Authorization": "Bearer " + process.env.DRAVO_API_KEY,}});const data = await response.json();console.log(data);[ { "id": "oa_1", "platform": "x", "name": "My X App", "client_id": "…", "redirect_uri": "https://api.dravo.dev/v1/oauth/x/callback", "scopes": [ "tweet.write", "tweet.read", "users.read", "offline.access", "media.write" ], "allowed_return_urls": [ "https://app.acme.com/connect" ] }]