curl --request GET \
--url http://localhost:3001/portal-api/apps/{app_id} \
--header 'Authorization: <api-key>'{
"Name": "Payment App",
"Description": "This is my payment application",
"RedirectURLs": "https://app-host/auth",
"UserID": 1,
"Visibility": "personal",
"ID": 1,
"CreatedAt": "2023-06-25 13:37",
"AccessRequests": [
[
{
"Catalogue": "Public Catalogue",
"Client": "Payment application",
"CreatedAt": "2023-06-25 13:37",
"UpdatedAt": "2023-06-25 13:37",
"DeletedAt": "2023-06-25 13:37",
"Plan": "Free plan",
"User": "User#1",
"AuthType": "authToken",
"DCREnabled": false,
"ID": 1,
"ProvisionImmediately": true,
"Status": "approved",
"Products": [
"Payment API"
],
"Credentials": [
{
"AccessRequest": "AccessRequest#2",
"Credential": "eyJvcmciOiI1ZTlkOTU0NGExZGNkNjAwMDFkMGVkMjAiLCJpZCI6IjY4MjZjZGViMmVlMzQ3ZGQ5ZjQ1ZWZmMjEyMTlhOWU1IiwiaCI6Im11cm11cjY0In0=",
"CredentialHash": "e1212449778b7ba4",
"DCRRegistrationAccessToken": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJmZjIyNmYyZi0yMDA0LTRlOWItOTFmOC1iOGYzOTA2ZDJmYTQifQ.eyJleHAiOjAsImlhdCI6MTY4NzczNzM5MCwianRpIjoiNjc3OTgwYjktZjgwMS00MmQ2LWI4OTItZDdkNDk1MmFhMjU5IiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo5OTk5L3JlYWxtcy9tYXN0ZXIiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0Ojk5OTkvcmVhbG1zL21hc3RlciIsInR5cCI6IlJlZ2lzdHJhdGlvbkFjY2Vzc1Rva2VuIiwicmVnaXN0cmF0aW9uX2F1dGgiOiJhdXRoZW50aWNhdGVkIn0.wyE93vktqlCywgtyJ8HBTjRPG9NvZEDR3zpSMncdwno",
"DCRRegistrationClientURI": "http://idp-host/realms/master/clients-registrations/openid-connect/cf4ab76c-c437-4ba2-8e94-1323269b5090",
"DCRResponse": "{\"redirect_uris\":[\"http://app-host/auth\"],\"token_endpoint_auth_method\":\"client_secret_basic\",\"grant_types\":[\"implicit\",\"client_credentials\"],\"response_types\":[\"id_token\",\"id_token token\"],\"client_id\":\"cf4ab76c-c437-4ba2-8e94-1323269b5090\",\"client_secret\":\"iDe9fkFNBDbVS5JOtYNUDIO8w8N6dWzf\",\"client_name\":\"OAuth2.0 client\",\"scope\":\"address phone offline_access microprofile-jwt\",\"subject_type\":\"public\",\"request_uris\":[],\"tls_client_certificate_bound_access_tokens\":false,\"client_id_issued_at\":1687737390,\"client_secret_expires_at\":0,\"registration_client_uri\":\"http://idp-host/realms/master/clients-registrations/openid-connect/cf4ab76c-c437-4ba2-8e94-1323269b5090\",\"registration_access_token\":\"eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJmZjIyNmYyZi0yMDA0LTRlOWItOTFmOC1iOGYzOTA2ZDJmYTQifQ.eyJleHAiOjAsImlhdCI6MTY4NzczNzM5MCwianRpIjoiNjc3OTgwYjktZjgwMS00MmQ2LWI4OTItZDdkNDk1MmFhMjU5IiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo5OTk5L3JlYWxtcy9tYXN0ZXIiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0Ojk5OTkvcmVhbG1zL21hc3RlciIsInR5cCI6IlJlZ2lzdHJhdGlvbkFjY2Vzc1Rva2VuIiwicmVnaXN0cmF0aW9uX2F1dGgiOiJhdXRoZW50aWNhdGVkIn0.wyE93vktqlCywgtyJ8HBTjRPG9NvZEDR3zpSMncdwno\",\"backchannel_logout_session_required\":false,\"require_pushed_authorization_requests\":false,\"frontchannel_logout_session_required\":false}",
"Expires": "1969-12-31 19:00",
"OAuthClientID": "cf4ab76c-c437-4ba2-8e94-1323269b5090",
"OAuthClientSecret": "iDe9fkFNBDbVS5JOtYNUDIO8w8N6dWzf",
"RedirectURI": "https://app-host/auth",
"ResponseType": "id_token token",
"Scope": "payment client",
"TokenEndpoints": "payment client"
}
]
}
]
]
}Get an application’s data
curl --request GET \
--url http://localhost:3001/portal-api/apps/{app_id} \
--header 'Authorization: <api-key>'{
"Name": "Payment App",
"Description": "This is my payment application",
"RedirectURLs": "https://app-host/auth",
"UserID": 1,
"Visibility": "personal",
"ID": 1,
"CreatedAt": "2023-06-25 13:37",
"AccessRequests": [
[
{
"Catalogue": "Public Catalogue",
"Client": "Payment application",
"CreatedAt": "2023-06-25 13:37",
"UpdatedAt": "2023-06-25 13:37",
"DeletedAt": "2023-06-25 13:37",
"Plan": "Free plan",
"User": "User#1",
"AuthType": "authToken",
"DCREnabled": false,
"ID": 1,
"ProvisionImmediately": true,
"Status": "approved",
"Products": [
"Payment API"
],
"Credentials": [
{
"AccessRequest": "AccessRequest#2",
"Credential": "eyJvcmciOiI1ZTlkOTU0NGExZGNkNjAwMDFkMGVkMjAiLCJpZCI6IjY4MjZjZGViMmVlMzQ3ZGQ5ZjQ1ZWZmMjEyMTlhOWU1IiwiaCI6Im11cm11cjY0In0=",
"CredentialHash": "e1212449778b7ba4",
"DCRRegistrationAccessToken": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJmZjIyNmYyZi0yMDA0LTRlOWItOTFmOC1iOGYzOTA2ZDJmYTQifQ.eyJleHAiOjAsImlhdCI6MTY4NzczNzM5MCwianRpIjoiNjc3OTgwYjktZjgwMS00MmQ2LWI4OTItZDdkNDk1MmFhMjU5IiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo5OTk5L3JlYWxtcy9tYXN0ZXIiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0Ojk5OTkvcmVhbG1zL21hc3RlciIsInR5cCI6IlJlZ2lzdHJhdGlvbkFjY2Vzc1Rva2VuIiwicmVnaXN0cmF0aW9uX2F1dGgiOiJhdXRoZW50aWNhdGVkIn0.wyE93vktqlCywgtyJ8HBTjRPG9NvZEDR3zpSMncdwno",
"DCRRegistrationClientURI": "http://idp-host/realms/master/clients-registrations/openid-connect/cf4ab76c-c437-4ba2-8e94-1323269b5090",
"DCRResponse": "{\"redirect_uris\":[\"http://app-host/auth\"],\"token_endpoint_auth_method\":\"client_secret_basic\",\"grant_types\":[\"implicit\",\"client_credentials\"],\"response_types\":[\"id_token\",\"id_token token\"],\"client_id\":\"cf4ab76c-c437-4ba2-8e94-1323269b5090\",\"client_secret\":\"iDe9fkFNBDbVS5JOtYNUDIO8w8N6dWzf\",\"client_name\":\"OAuth2.0 client\",\"scope\":\"address phone offline_access microprofile-jwt\",\"subject_type\":\"public\",\"request_uris\":[],\"tls_client_certificate_bound_access_tokens\":false,\"client_id_issued_at\":1687737390,\"client_secret_expires_at\":0,\"registration_client_uri\":\"http://idp-host/realms/master/clients-registrations/openid-connect/cf4ab76c-c437-4ba2-8e94-1323269b5090\",\"registration_access_token\":\"eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJmZjIyNmYyZi0yMDA0LTRlOWItOTFmOC1iOGYzOTA2ZDJmYTQifQ.eyJleHAiOjAsImlhdCI6MTY4NzczNzM5MCwianRpIjoiNjc3OTgwYjktZjgwMS00MmQ2LWI4OTItZDdkNDk1MmFhMjU5IiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo5OTk5L3JlYWxtcy9tYXN0ZXIiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0Ojk5OTkvcmVhbG1zL21hc3RlciIsInR5cCI6IlJlZ2lzdHJhdGlvbkFjY2Vzc1Rva2VuIiwicmVnaXN0cmF0aW9uX2F1dGgiOiJhdXRoZW50aWNhdGVkIn0.wyE93vktqlCywgtyJ8HBTjRPG9NvZEDR3zpSMncdwno\",\"backchannel_logout_session_required\":false,\"require_pushed_authorization_requests\":false,\"frontchannel_logout_session_required\":false}",
"Expires": "1969-12-31 19:00",
"OAuthClientID": "cf4ab76c-c437-4ba2-8e94-1323269b5090",
"OAuthClientSecret": "iDe9fkFNBDbVS5JOtYNUDIO8w8N6dWzf",
"RedirectURI": "https://app-host/auth",
"ResponseType": "id_token token",
"Scope": "payment client",
"TokenEndpoints": "payment client"
}
]
}
]
]
}UID of this application
1
OK
Name of this application
"Payment App"
Human-readable description of this application
"This is my payment application"
Redirect URL for OAuth2.0 authorization_code and PKCE grant types
"https://app-host/auth"
UID of a user to whom this application will belong
1
Controls who can access this application. Options are: personal (visible only to you), team (shared with your team), and organisation (accessible to all members of your organisation).
personal, team, organisation "personal"
UID of this app
1
Timestamp of when this application was created
"2023-06-25 13:37"
Show child attributes
Catalogue of API Products included in this access request
"Public Catalogue"
Name of the developer app
"Payment application"
Timestamp of when this access request was created
"2023-06-25 13:37"
Timestamp of when this access request was updated the last time
"2023-06-25 13:37"
Timestamp of when this access request was removed
"2023-06-25 13:37"
Name of a plan included in this access request
"Free plan"
Descriptor of a user to whom this access request belongs
"User#1"
Authentication type of APIs that are included in this API Product
"authToken"
Identifies if this access request was created using Dynamic client registration
false
UID of access request
1
Identifies if this access request was approved automatically
true
Approval status of this access request
approved, rejected, pending Names of products that are included in this access request
Name of a product that is included in this access request
Credentials that are issued with access request
Show child attributes
Access request description
"AccessRequest#2"
Auth token from the Tyk API Gateway. For OAuth2.0 credentials it's an empty string
"eyJvcmciOiI1ZTlkOTU0NGExZGNkNjAwMDFkMGVkMjAiLCJpZCI6IjY4MjZjZGViMmVlMzQ3ZGQ5ZjQ1ZWZmMjEyMTlhOWU1IiwiaCI6Im11cm11cjY0In0="
Hash of an auth token from the Tyk API Gateway. For OAuth2.0 credentials it's an empty string
"e1212449778b7ba4"
Access token for Dynamic client registration that is associated with credentials. Has non-empty value only for OAuth2.0 credentials
"eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJmZjIyNmYyZi0yMDA0LTRlOWItOTFmOC1iOGYzOTA2ZDJmYTQifQ.eyJleHAiOjAsImlhdCI6MTY4NzczNzM5MCwianRpIjoiNjc3OTgwYjktZjgwMS00MmQ2LWI4OTItZDdkNDk1MmFhMjU5IiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo5OTk5L3JlYWxtcy9tYXN0ZXIiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0Ojk5OTkvcmVhbG1zL21hc3RlciIsInR5cCI6IlJlZ2lzdHJhdGlvbkFjY2Vzc1Rva2VuIiwicmVnaXN0cmF0aW9uX2F1dGgiOiJhdXRoZW50aWNhdGVkIn0.wyE93vktqlCywgtyJ8HBTjRPG9NvZEDR3zpSMncdwno"
DCR client registration URI that is associated with credentials. Has non-empty value only for OAuth2.0 credentials
"http://idp-host/realms/master/clients-registrations/openid-connect/cf4ab76c-c437-4ba2-8e94-1323269b5090"
Cached client registration response from the Identity Provider. Has non-empty value only for OAuth2.0 credentials
"{\"redirect_uris\":[\"http://app-host/auth\"],\"token_endpoint_auth_method\":\"client_secret_basic\",\"grant_types\":[\"implicit\",\"client_credentials\"],\"response_types\":[\"id_token\",\"id_token token\"],\"client_id\":\"cf4ab76c-c437-4ba2-8e94-1323269b5090\",\"client_secret\":\"iDe9fkFNBDbVS5JOtYNUDIO8w8N6dWzf\",\"client_name\":\"OAuth2.0 client\",\"scope\":\"address phone offline_access microprofile-jwt\",\"subject_type\":\"public\",\"request_uris\":[],\"tls_client_certificate_bound_access_tokens\":false,\"client_id_issued_at\":1687737390,\"client_secret_expires_at\":0,\"registration_client_uri\":\"http://idp-host/realms/master/clients-registrations/openid-connect/cf4ab76c-c437-4ba2-8e94-1323269b5090\",\"registration_access_token\":\"eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJmZjIyNmYyZi0yMDA0LTRlOWItOTFmOC1iOGYzOTA2ZDJmYTQifQ.eyJleHAiOjAsImlhdCI6MTY4NzczNzM5MCwianRpIjoiNjc3OTgwYjktZjgwMS00MmQ2LWI4OTItZDdkNDk1MmFhMjU5IiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo5OTk5L3JlYWxtcy9tYXN0ZXIiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0Ojk5OTkvcmVhbG1zL21hc3RlciIsInR5cCI6IlJlZ2lzdHJhdGlvbkFjY2Vzc1Rva2VuIiwicmVnaXN0cmF0aW9uX2F1dGgiOiJhdXRoZW50aWNhdGVkIn0.wyE93vktqlCywgtyJ8HBTjRPG9NvZEDR3zpSMncdwno\",\"backchannel_logout_session_required\":false,\"require_pushed_authorization_requests\":false,\"frontchannel_logout_session_required\":false}"
Date-time when this credential expires
"1969-12-31 19:00"
OAuth2.0 client ID. Has non-empty value only for OAuth2.0 credentials
"cf4ab76c-c437-4ba2-8e94-1323269b5090"
OAuth2.0 client secret. Has non-empty value only for OAuth2.0 credentials
"iDe9fkFNBDbVS5JOtYNUDIO8w8N6dWzf"
Redirect URI for OAuth2.0 authorization_code and PKCE grant types
"https://app-host/auth"
Response types supported by this credential. Has non-empty value only for OAuth2.0 credentials
"id_token token"
OAuth2.0 scope available to this credential. Has non-empty value only for OAuth2.0 credentials
"payment client"
OAuth2.0 token_endpoint_auth_method that this credential uses. Has non-empty value only for OAuth2.0 credentials
"payment client"
Was this page helpful?