Create an Application
POST {{cryptr_service_url}}/api/v2/org/:org_domain/applications?allowed_origins_cors[]=http://localhost:8080&allowed_redirect_urls[]=http://localhost:8080&allowed_logout_urls[]=http://localhost:8080&allowed_web_origins[]=http://localhost:8080&application_type=vue&name=Well Agency Shapes&description=Icons and Illustrations customizable&default_origin_cors=http://localhost:8080&default_web_origin=http://localhost:8080&default_redirect_uri_after_login=http://localhost:8080&default_redirect_uri_after_logout=http://localhost:8080
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
allowed_origins_cors[] | string | (Required) | |
allowed_redirect_urls[] | string | (Required) | |
allowed_logout_urls[] | string | (Required) | |
allowed_web_origins[] | string | (Required) | |
application_type | string | (Required) | |
name | string | (Required) The name of your application, a label to help you to understand which application is about. | |
description | string | Your own custom information about the app. | |
default_origin_cors | string | ||
default_web_origin | string | ||
default_redirect_uri_after_login | string | ||
default_redirect_uri_after_logout | string |
RESPONSES
status: Created
{"__access__":"limited_to:{{organization_domain}}","__database__":"default","__domain__":"{{organization_domain}}","__managed_by__":"{{tenant_domain}}","__type__":"Application","allowed_logout_urls":["http://localhost:3000"],"allowed_origins_cors":["http://localhost:3000"],"allowed_redirect_urls":["http://localhost:3000"],"application_type":"react","client_id":"81a81b21-93b9-441b-a861-a33dc8c06fea","default_logout_url":"http://localhost:3000","default_origin_cors":"http://localhost:3000","default_web_origin":"http://localhost:3000","description":null,"name":"My front app name"}