Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Sign-in methods

6 routes. Paths are relative to https://api.intersink.com/v1.

All groups

Web: email + password → session cookies (or a pending second factor)

POST/auth/web/login-password

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Request body application/json

FieldTypeDescription
emailstringEmail or username (one of the two is required) Example: "user@example.com"
usernamestringSign in with the username of the account's profile in this channel. Example: "riya_716"
passwordrequiredstringExample: "MyS3cret!"
device_idstringExample: "iphone_15_pro"
channel_idstringExample: "REF-A1"
captchastringCloudflare Turnstile token, when the channel turns the check on (GET /auth/sign-in-options) At most 2048 characters.

Response

200. The payload in data is of type object.

Web: email + authenticator code → session cookies

POST/auth/web/login-totp

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Request body application/json

FieldTypeDescription
emailrequiredstringExample: "user@example.com"
coderequiredstringAuthenticator or backup code Example: "123456"
device_idstringExample: "iphone_15_pro"
channel_idstringExample: "REF-A1"
captchastringCloudflare Turnstile token (channels with auth.captcha=turnstile; see GET /auth/sign-in-options) At most 2048 characters.

Response

200. The payload in data is of type object.

Web: finish sign-in with an emailed code

POST/auth/web/mfa/otp

Public: no sign-in needed.

Request body application/json

FieldTypeDescription
pending_tokenrequiredstringThe pending-login token from the first factor
otprequiredstringThe emailed OTP Example: "123456"

Response

200. The payload in data is of type object.

Web: finish sign-in with a passkey

POST/auth/web/mfa/passkey/verify

Public: no sign-in needed.

Request body application/json

FieldTypeDescription
pending_tokenrequiredstringThe pending-login token from the first factor
responserequiredobjectThe WebAuthn assertion response

Response

200. The payload in data is of type object.

Web: finish sign-in with an authenticator code

POST/auth/web/mfa/totp

Public: no sign-in needed.

Request body application/json

FieldTypeDescription
pending_tokenrequiredstringThe pending-login token from the first factor
coderequiredstringAuthenticator or backup code Example: "123456"

Response

200. The payload in data is of type object.

Web: passkey sign-in → session cookies

POST/auth/web/passkey/login/verify

Public: no sign-in needed.

Parameters

NameTypeDescription
x-refstring, header

Request body application/json

FieldTypeDescription
emailstringExample: "user@example.com"
challenge_idstringFrom passkey/login/options when no e-mail was given
responserequiredobjectAssertion response from the authenticator
device_idstringExample: "iphone_15_pro"
channel_idstringExample: "REF-A1"

Response

200. The payload in data is of type object.