Endpoints
Here you will find all the endpoints and their examples.
Profile endpoint
GET https://api.samochat.net/profile/:username
This fetches the public information of a user.
Path Parameters
username
string
The unique username of each SamoChat profile.
Headers
Authorization
string
The bearer token needed to access the API
{
"user": {
"name": "SamoChat",
"age": "13 years ",
"gender": "Male",
"location": "Søborg, Danmark",
"SamoCredits": "100.000.319",
"rank": "Elite",
"videos": "1",
"photos": "28",
"joined": "Member since 2 years ago",
"about": " What's your idea?: To connect everyone, everywhere in a 💯 % secure and private way About Me: We are the first Social media to truly respect and guard your privacy. Made in but based in 🇩🇰 Website: Samochat.net "
}
}Timeline endpoint
GET https://api.samochat.net/profile/:username/timeline
This fetches the public posts of a user.
Path Parameters
username
string
The unique username of each SamoChat profile.
Headers
Authorization
string
The bearer token needed to access the API
Name endpoint
GET https://api.samochat.net/user/:username?query=name
This fetches the name of a specified user.
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
name
string
The name of the specified user.
Headers
Authorization
string
The bearer token needed to access the API
Age endpoint
GET https://api.samochat.net/user/:username?query=age
This fetches the age of a specified user.
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
age
string
The age of the specified user.
Headers
Authorization
string
The bearer token needed to access the API
Gender endpoint
GET https://api.samochat.net/user/:username?query=gender
This fetches the gender of a specified user.
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
gender
string
The gender of the specified user.
Headers
Authorization
string
The bearer token needed to access the API
Location endpoint
GET https://api.samochat.net/user/:username?query=location
This fetches the location of a specified user.
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
location
string
The location of the specified user.
Headers
Authorization
string
The bearer token needed to access the API
SamoCredits endpoint
GET https://api.samochat.net/user/:username?query=samocredits
This fetches the amount of SamoCredits a specific user has.
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
samocredits
string
The SamoCredits of the specified user.
Headers
Authorization
string
The bearer token needed to access the API
Rank endpoint
GET https://api.samochat.net/user/:username?query=rank
This fetches the location of a specified user.
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
rank
string
The rank of the specified user.
Headers
Authorization
string
The bearer token needed to access the API
Videos endpoint
GET https://api.samochat.net/user/:username?query=videos
This fetches the number of videos of a specified user.
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
videos
string
The number of videos of the specified user.
Headers
Authorization
string
The bearer token needed to access the API
Photos endpoint
GET https://api.samochat.net/user/:username?query=photos
This fetches the number of photos of a specified user.
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
photos
string
The number of photos of the specified user.
Headers
Authorization
string
The bearer token needed to access the API
Joined endpoint
GET https://api.samochat.net/user/:username?query=joined
This shows when the specified user joined SamoChat.
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
joined
string
Shows the
Headers
Authorization
string
The bearer token needed to access the API
About endpoint
GET https://api.samochat.net/user/:username?query=about
This fetches the about section of a specified user
Path Parameters
username
string
The unique username of each SamoChat profile.
Query Parameters
about
string
The about section of the user
Headers
Authorization
string
The bearer token needed to access the API
Last updated
Was this helpful?