Get application details
const url = 'https://api.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/application/9c2e7f1a-4b8d-4e3c-a5f6-2d9b1e0c7a43';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
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.wink.travel/api/managing-entity/d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69/application/9c2e7f1a-4b8d-4e3c-a5f6-2d9b1e0c7a43 \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Retrieves a single OAuth2 application’s full configuration by its identifier.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Identifier of the managing entity that owns the application.
Example
d5b8a3c2-9e6f-4a1b-8d34-7c2e1f0a5b69Identifier of the application to retrieve.
Example
9c2e7f1a-4b8d-4e3c-a5f6-2d9b1e0c7a43Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
Unique application identifier.
Unique user record identifier who owns this application.
Display name of this OAuth2 application. The first application for every integrator typically matches the company name.
Application icon shown on the OAuth2 consent screen.
OAuth2 redirect URIs where the authorization server redirects after successful authentication.
Post-logout redirect URIs where the authorization server redirects after successful sign-out.
OAuth2 client identifier used to authenticate requests on behalf of this application.
OAuth2 scopes this application is granted permission to request (e.g., booking.read, booking.write). Empty list means OIDC-only access.
Example
{ "id": "", "userIdentifier": "", "name": "", "iconIdentifier": "", "redirectUris": "", "postLogoutRedirectUris": "", "clientId": "", "scopes": ""}Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}