Documentation - private-method/api GitHub Wiki

Authentication

Currently, we just provided authentication via Google.

  • URL

    /api/v1/auth/google

  • Method

    POST

  • URL Params

    None

  • Data Params

    {
       "email": "[email protected]",
       "image_url": "http://image.url"
    }
    
  • Success Response

    {
       "jwt_token": "this_is_secret_token"
    }
    
  • Error Response

    Status Message
    422 Credentials was invalid