Auth
Check
Check Users
POST /checks/users
Check if email belongs to several clients
Request Body
email*
String
Your email
{
"data": [
{
"id": 3,
"name": "Demo Munio",
"code": "demo",
"valid_at": "2023-03-11T23:50:25.000000Z",
"valid_thru": "2024-03-11T03:38:23.000000Z",
"status": null,
"key": "MUNIO-kG0fvuQr",
"icon": "https://minio-s3.dev.embrio.id/munio/uploads/public/650/bb1/ff1/650bb1ff1a6d4582491995.png",
"favicon": "https://minio-s3.dev.embrio.id/munio/uploads/public/64c/b74/535/64cb74535e97e760429894.png",
"address": "Jl. Sutorejo Selatan IV No.24, RT.04/RW.08, Dukuh Sutorejo, Kec. Mulyorejo, Surabaya, Jawa Timur 60113",
"email": "[email protected]",
"phone": "082233485320",
"description": "<p>Platform managemen komunitas yang membantu pengurus komunitas memaksimalkan potensi, pengelolaan, serta pertumbuhan komunitas menggunakan teknologi digital secara independen dan efektif.</p><p><br></p>",
"social_media": [
{
"social_media_name": "youtube",
"link": "https://youtube.com"
}
],
"home_banner": "https://minio-s3.dev.embrio.id/munio/uploads/public/64f/9fe/629/64f9fe62951e0906749209.jpeg",
"permissions": {
"data": [
{
"id": 17,
"code": "news",
"label": "Artikel",
"is_active": 1
},
{
"id": 19,
"code": "members",
"label": "Anggota",
"is_active": 0
},
{
"id": 20,
"code": "broadcasts",
"label": "Boardcast",
"is_active": 0
},
{
"id": 21,
"code": "events",
"label": "Acara",
"is_active": 1
},
{
"id": 22,
"code": "vacancies",
"label": "Karir",
"is_active": 1
}
]
}
}
]
}Register
POST /auth/register
Headers
Client-Key*
String
Your client key
Request Body
name*
String
Your namae
email*
String
Your email
phone*
String
Your phone number
grant_type*
String
grant type for auth (ex: password)
password*
String
Your password
password_confirmation*
String
Your password confirmation (fill the same as the password)
Example Request Register
Sign In
POST /auth/access_token
Sign in user and returns access token
Headers
Client-Key*
String
Your client key
Request Body
login*
String
Your email
grant_type*
St
password*
String
Your password
Example Request Login
Sign In Using SSO
POST /auth/access_token
Sign in user and returns access token
Headers
Client-Key*
String
Your client key
Request Body
grant_type*
String
sso
token*
String
id token
Example Request Login
Forgot Password
POST /auth/forgot
Headers
Client-Key*
String
Your client key
Request Body
email*
String
Your email
Example Request Forgot Password
Reset Password
POST /auth/reset
Headers
Client-Key*
String
Your client key
Request Body
code*
String
Code that has been sent by email
password*
String
Your new password
Example Request Reset Password
Logout
Logout User
POST /auth/logout
Headers
Client-Key*
String
Your client key
Authorization*
String
Your bearer token
Last updated