ThaiProps Auth API

The Auth API from ThaiProps — 22 operation(s) for auth.

GitHub OpenAPI

Operations 24

POST /v1/auth/password-reset/request Request Password Reset #
POST /v1/auth/password-reset/confirm Confirm Password Reset #
POST /v1/auth/complete-email/request Complete Email Request #
POST /v1/auth/complete-email/confirm Complete Email Confirm #
GET /v1/auth/providers Providers #
GET /v1/auth/line/start Line Start #
GET /v1/auth/line/callback Line Callback #
POST /v1/auth/line/native Line Native Login #
POST /v1/auth/apple Apple Login #
POST /v1/auth/register Register #
POST /v1/auth/login Login #
GET /v1/auth/me Me #
GET /v1/auth/access/property/{property_id} Property Access #
POST /v1/auth/google Google Login #
POST /v1/auth/facebook Facebook Login #
OPTIONS /v1/auth/esign-sso/session Esign Sso Session Options #
POST /v1/auth/esign-sso/session Esign Sso Session #
OPTIONS /v1/auth/esign-sso/reset Esign Sso Reset Options #
POST /v1/auth/esign-sso/reset Esign Sso Reset #
GET /v1/auth/oidc/.well-known/openid-configuration Oidc Openid Configuration #
GET /v1/auth/oidc/jwks Oidc Jwks #
GET /v1/auth/oidc/authorize Oidc Authorize #
POST /v1/auth/oidc/token Oidc Token #
GET /v1/auth/oidc/userinfo Oidc Userinfo #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thaiprops-com:thaiprops-com-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thaiprops-com-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThaiProps Admin Auth API
  version: 0.1.0
tags:
- name: Auth
paths:
  /v1/auth/password-reset/request:
    post:
      tags:
      - Auth
      summary: Request Password Reset
      operationId: request_password_reset_v1_auth_password_reset_request_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordResetRequestBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/password-reset/confirm:
    post:
      tags:
      - Auth
      summary: Confirm Password Reset
      operationId: confirm_password_reset_v1_auth_password_reset_confirm_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordResetConfirmBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/complete-email/request:
    post:
      tags:
      - Auth
      summary: Complete Email Request
      operationId: complete_email_request_v1_auth_complete_email_request_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompleteEmailBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/complete-email/confirm:
    post:
      tags:
      - Auth
      summary: Complete Email Confirm
      operationId: complete_email_confirm_v1_auth_complete_email_confirm_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmEmailBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/providers:
    get:
      tags:
      - Auth
      summary: Providers
      operationId: providers_v1_auth_providers_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/auth/line/start:
    get:
      tags:
      - Auth
      summary: Line Start
      operationId: line_start_v1_auth_line_start_get
      parameters:
      - name: return_to
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Return To
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/line/callback:
    get:
      tags:
      - Auth
      summary: Line Callback
      operationId: line_callback_v1_auth_line_callback_get
      parameters:
      - name: code
        in: query
        required: true
        schema:
          type: string
          title: Code
      - name: state
        in: query
        required: true
        schema:
          type: string
          title: State
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/line/native:
    post:
      tags:
      - Auth
      summary: Line Native Login
      operationId: line_native_login_v1_auth_line_native_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LineNativeBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/apple:
    post:
      tags:
      - Auth
      summary: Apple Login
      operationId: apple_login_v1_auth_apple_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppleBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/register:
    post:
      tags:
      - Auth
      summary: Register
      operationId: register_v1_auth_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/login:
    post:
      tags:
      - Auth
      summary: Login
      operationId: login_v1_auth_login_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/me:
    get:
      tags:
      - Auth
      summary: Me
      operationId: me_v1_auth_me_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/access/property/{property_id}:
    get:
      tags:
      - Auth
      summary: Property Access
      description: 'THAIPROPS_CENTRAL_PROPERTY_ACCESS_ENDPOINT_V2


        Read-only policy decision point for public property surfaces.

        This endpoint never consumes subscription/contact quota.'
      operationId: property_access_v1_auth_access_property__property_id__get
      parameters:
      - name: property_id
        in: path
        required: true
        schema:
          type: integer
          title: Property Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/google:
    post:
      tags:
      - Auth
      summary: Google Login
      operationId: google_login_v1_auth_google_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/facebook:
    post:
      tags:
      - Auth
      summary: Facebook Login
      operationId: facebook_login_v1_auth_facebook_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacebookBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/esign-sso/session:
    options:
      tags:
      - Auth
      summary: Esign Sso Session Options
      operationId: esign_sso_session_options_v1_auth_esign_sso_session_options
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    post:
      tags:
      - Auth
      summary: Esign Sso Session
      operationId: esign_sso_session_v1_auth_esign_sso_session_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/esign-sso/reset:
    options:
      tags:
      - Auth
      summary: Esign Sso Reset Options
      operationId: esign_sso_reset_options_v1_auth_esign_sso_reset_options
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    post:
      tags:
      - Auth
      summary: Esign Sso Reset
      operationId: esign_sso_reset_v1_auth_esign_sso_reset_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/oidc/.well-known/openid-configuration:
    get:
      tags:
      - Auth
      summary: Oidc Openid Configuration
      operationId: oidc_openid_configuration_v1_auth_oidc__well_known_openid_configuration_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/auth/oidc/jwks:
    get:
      tags:
      - Auth
      summary: Oidc Jwks
      operationId: oidc_jwks_v1_auth_oidc_jwks_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/auth/oidc/authorize:
    get:
      tags:
      - Auth
      summary: Oidc Authorize
      operationId: oidc_authorize_v1_auth_oidc_authorize_get
      parameters:
      - name: response_type
        in: query
        required: true
        schema:
          type: string
          title: Response Type
      - name: client_id
        in: query
        required: true
        schema:
          type: string
          title: Client Id
      - name: redirect_uri
        in: query
        required: true
        schema:
          type: string
          title: Redirect Uri
      - name: scope
        in: query
        required: false
        schema:
          type: string
          default: openid profile email
          title: Scope
      - name: state
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: State
      - name: nonce
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Nonce
      - name: code_challenge
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Code Challenge
      - name: code_challenge_method
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Code Challenge Method
      - name: prompt
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Prompt
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/oidc/token:
    post:
      tags:
      - Auth
      summary: Oidc Token
      operationId: oidc_token_v1_auth_oidc_token_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /v1/auth/oidc/userinfo:
    get:
      tags:
      - Auth
      summary: Oidc Userinfo
      operationId: oidc_userinfo_v1_auth_oidc_userinfo_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RegisterBody:
      properties:
        name:
          type: string
          title: Name
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          title: Password
        contact_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Contact Number
        signup_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Signup Source
      type: object
      required:
      - name
      - email
      - password
      title: RegisterBody
    GoogleBody:
      properties:
        credential:
          type: string
          title: Credential
        signup_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Signup Source
      type: object
      required:
      - credential
      title: GoogleBody
    ConfirmEmailBody:
      properties:
        token:
          type: string
          title: Token
      type: object
      required:
      - token
      title: ConfirmEmailBody
    PasswordResetConfirmBody:
      properties:
        token:
          type: string
          title: Token
        new_password:
          type: string
          title: New Password
      type: object
      required:
      - token
      - new_password
      title: PasswordResetConfirmBody
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    LoginBody:
      properties:
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
      - email
      - password
      title: LoginBody
    AppleBody:
      properties:
        identity_token:
          type: string
          title: Identity Token
        full_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Full Name
        signup_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Signup Source
      type: object
      required:
      - identity_token
      title: AppleBody
    FacebookBody:
      properties:
        access_token:
          anyOf:
          - type: string
          - type: 'null'
          title: Access Token
        authentication_token:
          anyOf:
          - type: string
          - type: 'null'
          title: Authentication Token
        nonce:
          anyOf:
          - type: string
          - type: 'null'
          title: Nonce
        signup_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Signup Source
      type: object
      title: FacebookBody
    CompleteEmailBody:
      properties:
        email:
          type: string
          format: email
          title: Email
      type: object
      required:
      - email
      title: CompleteEmailBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PasswordResetRequestBody:
      properties:
        email:
          type: string
          format: email
          title: Email
      type: object
      required:
      - email
      title: PasswordResetRequestBody
    LineNativeBody:
      properties:
        id_token:
          type: string
          title: Id Token
        nonce:
          anyOf:
          - type: string
          - type: 'null'
          title: Nonce
        signup_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Signup Source
      type: object
      required:
      - id_token
      title: LineNativeBody