Hust Musik
  1. Auth
Hust Musik
  • User
    • Get All Users
      GET
    • Get User By ID
      GET
    • Get User Profile
      GET
    • Get User Listen History
      GET
    • Get Followed Artists
      GET
    • Update User Profile
      POST
    • Get User Playlists
      GET
    • Upsert User Listen History
      POST
    • Follow Artist
      POST
    • Unfollow Artist
      DELETE
  • Song
    • Get All Songs
      GET
    • Add Song
      POST
    • Get Song By ID
      GET
    • Update Song
      POST
    • Delete Song
      DELETE
    • Generate Presigned Download
      GET
    • Generate Presigned Upload
      GET
  • Auth
    • Register User
      POST
    • Sign In
      POST
    • Sign Out
      GET
    • Google Sign In
      GET
    • Update User Credentials
      POST
    • Renew Session
      POST
  • Artist
    • Get All Artists
      GET
    • Get Artist By ID
      GET
    • Add Artist
      POST
    • Update Artist
      POST
    • Delete Artist
      DELETE
  • Collection
    • Get All Collections
    • Get All Playlists
    • Get All Albums
    • Get Collection By ID
    • Add Collection
    • Update Collection
    • Delete Collection
    • Add Song To Collection
    • Delete Song From Collection
  • Search
    • Default Search
    • Search Songs
    • Search Albums
    • Search Playlists
    • Search Users
    • Search Artists
  • Payment
    • Create Zalo Order
    • Get Zalo Order Status
  • Check Health
    GET
  1. Auth

Sign In

POST
/v1/auth/signin
Signs current user in via email and password

Request

Header Params

Body Params application/json

Example
{
    "email": "zeann3th@yopmail.com",
  "password": "Some-password1234"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.hustmusik.live/v1/auth/signin' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "zeann3th@yopmail.com",
  "password": "Some-password1234"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "user": {
        "id": "A7denDdvAF_Y1dQXR6w-5",
        "aud": "in consequat eu in dolor"
    },
    "session": {
        "access_token": "Ut anim do",
        "expires_in": 50255808,
        "refresh_token": "dolor laborum"
    }
}
Modified at 2024-12-08 12:47:52
Previous
Register User
Next
Sign Out
Built with