Create Identity Setup Link
curl --request POST \
--url https://api.mountthor.com/v1/admin/identity-setup-link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"intent": "sso",
"reason": "customer admin clicked Setup SSO Logins",
"return_url": "https://api.mountthor.com/identity/setup-completed"
}
'import requests
url = "https://api.mountthor.com/v1/admin/identity-setup-link"
payload = {
"intent": "sso",
"reason": "customer admin clicked Setup SSO Logins",
"return_url": "https://api.mountthor.com/identity/setup-completed"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
intent: 'sso',
reason: 'customer admin clicked Setup SSO Logins',
return_url: 'https://api.mountthor.com/identity/setup-completed'
})
};
fetch('https://api.mountthor.com/v1/admin/identity-setup-link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mountthor.com/v1/admin/identity-setup-link",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'intent' => 'sso',
'reason' => 'customer admin clicked Setup SSO Logins',
'return_url' => 'https://api.mountthor.com/identity/setup-completed'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mountthor.com/v1/admin/identity-setup-link"
payload := strings.NewReader("{\n \"intent\": \"sso\",\n \"reason\": \"customer admin clicked Setup SSO Logins\",\n \"return_url\": \"https://api.mountthor.com/identity/setup-completed\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mountthor.com/v1/admin/identity-setup-link")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"intent\": \"sso\",\n \"reason\": \"customer admin clicked Setup SSO Logins\",\n \"return_url\": \"https://api.mountthor.com/identity/setup-completed\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountthor.com/v1/admin/identity-setup-link")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"intent\": \"sso\",\n \"reason\": \"customer admin clicked Setup SSO Logins\",\n \"return_url\": \"https://api.mountthor.com/identity/setup-completed\"\n}"
response = http.request(request)
puts response.read_body{
"expires_at": "<string>",
"identity_integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"intent": "sso",
"provider": "workos",
"url": "<string>"
}"<string>"Identity
Create Identity Setup Link
POST
/
v1
/
admin
/
identity-setup-link
Create Identity Setup Link
curl --request POST \
--url https://api.mountthor.com/v1/admin/identity-setup-link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"intent": "sso",
"reason": "customer admin clicked Setup SSO Logins",
"return_url": "https://api.mountthor.com/identity/setup-completed"
}
'import requests
url = "https://api.mountthor.com/v1/admin/identity-setup-link"
payload = {
"intent": "sso",
"reason": "customer admin clicked Setup SSO Logins",
"return_url": "https://api.mountthor.com/identity/setup-completed"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
intent: 'sso',
reason: 'customer admin clicked Setup SSO Logins',
return_url: 'https://api.mountthor.com/identity/setup-completed'
})
};
fetch('https://api.mountthor.com/v1/admin/identity-setup-link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mountthor.com/v1/admin/identity-setup-link",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'intent' => 'sso',
'reason' => 'customer admin clicked Setup SSO Logins',
'return_url' => 'https://api.mountthor.com/identity/setup-completed'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mountthor.com/v1/admin/identity-setup-link"
payload := strings.NewReader("{\n \"intent\": \"sso\",\n \"reason\": \"customer admin clicked Setup SSO Logins\",\n \"return_url\": \"https://api.mountthor.com/identity/setup-completed\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mountthor.com/v1/admin/identity-setup-link")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"intent\": \"sso\",\n \"reason\": \"customer admin clicked Setup SSO Logins\",\n \"return_url\": \"https://api.mountthor.com/identity/setup-completed\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mountthor.com/v1/admin/identity-setup-link")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"intent\": \"sso\",\n \"reason\": \"customer admin clicked Setup SSO Logins\",\n \"return_url\": \"https://api.mountthor.com/identity/setup-completed\"\n}"
response = http.request(request)
puts response.read_body{
"expires_at": "<string>",
"identity_integration_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"intent": "sso",
"provider": "workos",
"url": "<string>"
}"<string>"Authorizations
Bearer scheme name used by typed customer admin operations.
Body
application/json
Example:
"sso"
Optional audit reason (8..=1000 chars when present). The portal can send a short context string like "customer admin clicked Setup SSO Logins". When omitted, the audit row records a stock reason naming the actor type.
Example:
"customer admin clicked Setup SSO Logins"
Example:
"https://api.mountthor.com/identity/setup-completed"