Skip to content
GET /auth/signup/social

The last step of signing up with Google, GitHub or Microsoft from the signup page. After the provider verified the email and no account has it, the API redirects the browser here with a one-time ticket for the chosen data region. Opening it makes the account (team, 3 environments, admin user) with the email already verified, sets the session cookie and redirects to the dashboard. The ticket works once, for 60 seconds. A refused ticket, or a deployment that does not offer signup, redirects to the dashboard's error page. So does a free or disposable email domain, with code=work_email_required in the query.

Query Parameters

ticketstring
required·

The trtss_{region}_{body}.{mac} ticket the provider callback issued.

curl -X GET 'https://api.truto.one/auth/signup/social' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/auth/signup/social', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/auth/signup/social"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())