LogoThreatmatic

Social Sign In

POST
/sign-in/social

Sign in with a social provider

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token authentication

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://console.threatmatic.ai/api/auth/sign-in/social" \  -H "Content-Type: application/json" \  -d '{    "provider": "string"  }'
{
  "token": "string",
  "user": {
    "id": "string",
    "name": "string",
    "email": "string",
    "emailVerified": false,
    "image": "string",
    "createdAt": "Generated at runtime",
    "updatedAt": "Generated at runtime",
    "lastLoginMethod": "string",
    "stripeCustomerId": "string",
    "role": "string",
    "banned": false,
    "banReason": "string",
    "banExpires": "2019-08-24T14:15:22Z",
    "lang": "en"
  },
  "url": "string",
  "redirect": false
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}