Generic Auth Init
curl --request GET \
--url https://api.studio.prisme.ai/v2/login \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/login', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/login"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"provider": "local"
}API Gateway
Generic Auth Init
Starts generic authentication. Provide either a provider slug or a domain to auto-discover the SSO provider.
GET
/
v2
/
login
Generic Auth Init
curl --request GET \
--url https://api.studio.prisme.ai/v2/login \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.studio.prisme.ai/v2/login', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/login"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"provider": "local"
}Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Auth provider slug. Required if domain is not provided.
Email domain (e.g. "acme.com"). When provided, auto-discovers the SSO provider matching this domain. If no SSO provider matches, returns a 200 JSON response with provider "local".
Response
SSO or local authentication identifier
Example:
"local"
Was this page helpful?