latestOpenAPI 3.1.02026-08-1092916.0 KB

99b138ac9152

Accounts
public

Sign in with custom token

The endpoint signs in or signs up a user by exchanging a custom Auth token for an ID token and a refresh token.

Requires "*" permission on the organization and its children, and the "allowUserTokenManagement" flag to be enabled on the organization.

post/token/signin/

Headers

x-m2-organization-idstring required

The ID of an organization

Request body

tokenstring required

The custom token to sign in with

Response

The response to generating a custom token

idTokenstring required
refreshTokenstring required
expiresInstring required
isNewUserboolean required