User Profile API
GET Profile data
This endpoint is used to retrieve user profile details. It requires a valid access token in the authorization header to retrieve the profile.
HTTP Request
GET
https://api.stagemeta.dev/auth/profile
Headers
Name | Type | Description |
---|---|---|
Authorization:* | string | The user's access token in the format |
Example Request
Post Profile data
This endpoint allows users to update their profile information.
HTTP Post Request
POST
https://api.stagemeta.dev/auth/profile
Headers
Name | Type | Description |
---|---|---|
Authorization* | string | The user's access token in the format |
Request Body
Name | Type | Description |
---|---|---|
image | file | The user's profile image. |
username | string | The user's username |
password | string | The user's password. |
phoneNumber | string | The user's phone number. |
Example Requests
Last updated