Getting Started


Welcome to LiveLife API Documentation. Before using our API, please read notes below.

Request Token
To enable accessing and starting use our API, you need to get API Key.
Click Here to get API Key.

Allowed HTTPs requests:
PUT    to create resource
POST   to update resource
GET     to get a resource or list of resources
DELETE  to delete resource

Description of Usual Server Responses:
200 OK - the request was successful (some API calls may return 201 instead).
201 Created - the request was successful and a resource was created.
204 No Content - the request was successful but there is no representation to return (i.e. the response is empty).
400 Bad Request - the request could not be understood or was missing required parameters.
401 Unauthorized - authentication failed or user doesn't have permissions for requested operation.
403 Forbidden - access denied
404 Not Found - resource was not found.
405 Method Not Allowed - requested method is not supported for resource.

Changelog:

Authentication


POST
Here sample for user's auth request:

http://api.livelifeindo.com/auth/login?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU32Cxu

Body Parameters:

//Success Output
{"account_id": "pvn58yl6JMFUkXKwm8_InX0y_Lcrb0jGchs0iM85EgQ","status":200,"message":"Success"}

//Error Output
{"status":401,"message":"Wrong Password"}
{"status":false,"message":"Email or phone not registered"}
{"status":false,"message":"Invalid Parameters"}

Accounts


GET
Here sample to get single data request:

http://api.livelifeindo.com/account/find?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU32Cxu&id=pvn58yl6JMFUkXKwm8_InX0y_Lcrb0jGchs0iM85EgQ

Optional Parameters:

//Success Output
{"status":true,"message":"Success","object":{"account_info":{"id":"1","category":"group","group_type":"Corporate","email":"admin@livelifesg.com","fullname":"Administrator","gender_id":"1","gender":"Male","birthDay":"1988-08-03","live_in":"Jakarta","about":"Administrator Livelife","profile_photo":"https:\/\/images.livelifeindo.com\/upload\/profile\/1488504067_decyWKYlFB.jpg"},"keywords_of_interests":["Anything"],"contact_detail":{"id_country":null}}}

//Error Output
{"status":false,"message":"Wrong Password"}
{"status":false,"message":"Email or phone not registered"}
{"status":false,"message":"Invalid Parameters"}


PUT
Here sample to update account info request:

http://api.livelifeindo.com/account/update?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU32Cxu

Body Parameters:

//Success Output
{"status":true,"message":"Success"}

//Error Output
{"status":false,"message":"Invalid Parameters"}


POST
Here sample to create new account info request:

http://api.livelifeindo.com/account/create?token=JRPKqM8WOjCutC7TO9NoZUDZsIvbsRtWXKHp2Cxu

Optional Body Parameters:

//Success Output
{"status":true,"message":"Success"}

//Error Output
{"status":false,"message":"Invalid Parameters"}

Contacts


Here sample to get single data request:

https://api.livelifeindo.com/contacts/find?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU32Cxu&id=Qlu0xW2wn1LsElDrOBsysyTQilBi_XKuuIYcGkfsYTo

Optional Parameters:

//Success Output
{"status":true,"message":"Success","result":{"main_info":{"id":"PA44KhA2YNxlP3X9CGnaXbiObqIzhtlHCVW5SB07_nw","account_id":"p38rnMK6mRp8Bz-ypN5KnsXFdAhM0M4s891Cktv2R4o","partner_id":"7BwF65rAX_tujXROscqYSLnh7rhm3hFzoKbR2PVZct8","label":"general"},"partner_info":{"fullname":"Michael Arief Gunawan","email":"abc@hotmail.com","phone":"+65 777 1140","profession":"Entrepreneur","organization":"LiveLife","interest":"Independent movies, F&B with cosy ambience, languages, philosophy","city":"Jakarta","profile_photo":"https:\/\/images.livelifeindo.com\/upload\/profile\/1481685044ll2.jpg"}}}

//Error Output
{"status":400,"message":"Invalid Parameters"}

Here sample to get multiple data request:

https://api.livelifeindo.com/contacts/list?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU32Cxu&account_id=zg_YkH8j0o0_CFvPMfndfdyIl2MzqYm5DWAxrxGyLjM

Optional Parameters:


PUT
Here sample to update account info request:

https://api.livelifeindo.com/contacts/update?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU32Cxu

Body Parameters:

//Success Output
{"status":200,"message":"Success"}

//Error Output
{"status":400,"message":"Invalid Parameters"}


POST
Here sample to create new contact info request:

https://api.livelifeindo.com/contacts/create?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU32Cxu

Optional Body Parameters:

//Success Output
{"status":200,"message":"Success"}

//Error Output
{"status":400,"message":"Invalid Parameters"}

Notes


Here sample to get single data request:

https://api.livelifeindo.com/notes/find?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU32Cxu&id=2s8TizxcLcq4_b2n4IZib5rE47o6r1wu33MMxX4ACng

Optional Parameters:

//Success Output
{"status":true,"message":"Success","result":{"notes_info":{"id_notes":"OCQBXYNGzr3FfWtyW_oYx0JXpedYbcFRcagq4SOmykI","title":"Test Note","content":"Lorem ipsum dolor sir amet dolor lorem ipsum sir amet dolor","created":"2020-09-26 12:27:06"},"reference_info":[]}}

//Error Output
{"status":400,"message":"Invalid Parameters"}

Here sample to get multiple data request:

https://api.livelifeindo.com/notes/list?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU32Cxu&account_id=zg_YkH8j0o0_CFvPMfndfdyIl2MzqYm5DWAxrxGyLjM

Optional Parameters:


PUT
Here sample to update note detail info request:

https://api.livelifeindo.com/notes/update?token=JRPKq-bmwzWB-pDffM8jCutC7TO9NoZUDZsIvbssRtXKHpirUFia_UU3k2Cxu

Body Parameters:

//Success Output
{"status":200,"message":"Success"}

//Error Output
{"status":400,"message":"Invalid Parameters"}


POST
Here sample to create new note request:

https://api.livelifeindo.com/notes/create?token=JRPKq-bmwzB-pDffM8WOjCutC7TO9NoZUDZsIvbsRtWXKHpirUFia_UU3k2Cxu

Optional Body Parameters:

//Success Output
{"status":200,"message":"Success"}

//Error Output
{"status":400,"message":"Invalid Parameters"}

Events


GET
Here sample to get single data request:

https://api.livelifeindo.com/events/find?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDsIvbssRtWXKHpirUFia_UU32Cxu&id=7XIS2npZ2A0UuJiv5Mh22yTeATuwIZOz1ZAfiOQaqGo

Optional Parameters:

//Success Output
{"status": true,"message": "Success","result": {"event_info": { "id_event": "0GGvDS5qBwQaDw3R4rnd6Nm_bMMQ6dwqlq83wfwWz6A", "title": "CNY Expat Networking Drinks", "is_virtual": "0", "virtual_location": null, "link_virtual_event": null, "venue_name": null, "venue_address": null, "venue_city": null, "event_date": "Feb 4th, 2016", "summary": "Gong Xi Fa Cai! Let's celebrate Year of the Monkey with your fellow expats at the newly renovated rooftop bar of Screening Room, which is an award-winning alfresco bar known for its relaxing vibe, intuitive service, scenic “East meets West” views of Chinatown’s heritage shop houses and Chinese temple juxtaposed against the imposing skyscrapers of the CBD.\r\n\r\nWith $20 you will get to enjoy a drink from choices of Beer, House wine, Spirits, Soft drinks & Juice. Also stand a chance to win lucky draw prizes worth $500 - Boutique Theatre Room Vouchers: 4 hour use of the room for a corporate event or private movie screening.\r\n\r\nClick Join and we will update you on the next one. Looking forward to seeing you all!", "event_photo": "https://images.livelifeindo.com/upload/ideas/1454585272cnyexpatnetworkingdrinks.jpg", "event_photo_thumbnail": "https://images.livelifeindo.com/upload/ideas/thumbs/1454585272cnyexpatnetworkingdrinks.jpg", "host_id": "1", "hosted_by": "Administrator"}}}

//Error Output
{"status":400,"message":"Invalid Parameters"}

Here sample to get multiple data request:

Sample to get public event list
https://api.livelifeindo.com/events/list?token=JRPKqM8WOjutC7TO9NoZUDZsIvbssRtWXKHpk2Cxu&search=lorem&userid=jUVnmsk345AzxcVwq45G&upcoming=true

https://api.livelifeindo.com/events/list?token=JRPKq-bmwzWB-pDff8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU3k2Cxu&limit=10&offset=0

Sample to get user's event list
https://api.livelifeindo.com/events/olist?token=JRPKqMWOjCutC7TO9NoZUDZsIvbssRtWXKHpk2Cxu&search=lorem&userid=jUVnmsk345AzxcVwq45G&upcoming=true

https://api.livelifeindo.com/events/olist?token=JRPKq-bmwzWB-pDfM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpirUFia_UU3k2Cxu&limit=10&offset=0

Optional Parameters:


PUT
Here sample to update account info request:

https://api.livelifeindo.com/events/update?token=JRPKqM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpk2Cxu

Body Parameters:

//Success Output
{"status":200,"message":"Success"}

//Error Output
{"status":400,"message":"Invalid Parameters"}


POST
Here sample to create new account info request:

https://api.livelifeindo.com/events/create?token=JRPKqM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpk2Cxu

Optional Body Parameters:

//Success Output
{"status":200,"message":"Success"}

//Error Output
{"status":400,"message":"Invalid Parameters"}

Activities


GET
Here sample to get single data request:

https://api.livelifeindo.com/activities/find?token=JRPKqM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpk2Cxu&id=pvn58yl6JMFUkXKwm8_InX0y_Lcrb0jGchs0iM85EgQ

Optional Parameters:

//Success Output
{"status":200,"message":"Success","object":{"account_info":{"id":"1","category":"group","group_type":"Corporate","email":"admin@livelifesg.com","fullname":"Administrator","gender_id":"1","gender":"Male","birthDay":"1988-08-03","live_in":"Jakarta","about":"Administrator Livelife","profile_photo":"https:\/\/images.livelifeindo.com\/upload\/profile\/1488504067_decyWKYlFB.jpg"},"keywords_of_interests":["Anything"],"contact_detail":{"id_country":null}}}

//Error Output
{"status":401,"message":"Wrong Password"}
{"status":401,"message":"Email or phone not registered"}
{"status":400,"message":"Invalid Parameters"}

Here sample to get multiple data request:

http://api.livelifeindo.com/activities/list?token=JRPKqM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpk2Cxu&search=lorem&userid=jUVnmsk345AzxcVwq45G&eventid=AzXVnmsk345wWsAxcVwq45G

Optional Parameters:


PUT
Here sample to update account info request:

https://api.livelifeindo.com/activities/update?token=JRPKqM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpk2Cxu

Body Parameters:

//Success Output
{"status":200,"message":"Success"}

//Error Output
{"status":400,"message":"Invalid Parameters"}


POST
Here sample to create new account info request:

https://api.livelifeindo.com/activities/create?token=JRPKqM8WOjCutC7TO9NoZUDZsIvbssRtWXKHpk2Cxu

Optional Body Parameters:

//Success Output
{"status":200,"message":"Success"}

//Error Output
{"status":400,"message":"Invalid Parameters"}