This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a new OAuth app for a Wix Headless client.
You can only call this method when authenticated as a Wix app or Wix user identity.
OAuth app to create.
Created OAuth app info.
curl -X POST \
'https://www.wixapis.com/oauth-app/v1/oauth-apps' \
-H 'Authorization: <AUTH> \
-H 'Content-Type: application/json' \
-d '{
"oAuthApp": {
"name": "Test app",
"description": "Some test app",
"applicationType": "WEB_APP",
}
}'
{
"oAuthApp": {
"id": "adddb436-aa2c-474a-8f0e-af719f3acd5b",
"createdDate": "2023-03-28T13:43:48.959Z",
"name": "Test app",
"description": "Some test app",
"secret": "8e2e6c5c-2351-4c47-8c29-63d52b24424c",
"allowedRedirectDomains": [],
"loginUrl": "",
"logoutUrl": "",
"allowedRedirectUris": [],
"applicationType": "WEB_APP",
"technology": "OAUTH_TECHNOLOGY_UNSPECIFIED"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.