Prembly SDK

Available library/SDK for quick integration

STEPS ON USING THE NEW SDK INSIDE YOUR APP (Web, Mobile, Backend)

Create a widget on the dashboard, after creating the widget, make a request to Base URL - https://api.prembly.com

Request HeaderDescription
x-api-keyYour secret Key

Request Body

KeyDescription
emailUser's email address
first_nameuser's first name
last_nameuser's last name
user_refuser's unique reference number
config_idconfiguration ID returned when SDK was created
extra_metadatacan be an array/object of extra data you want to add to SDK

Sample Response

> {  
> 	  "success": true,  
> 	  "code": "",  
> 	  "detail": "Initialization successful",  
> 	  "data": {  
> 	    "status": true,  
> 	    "widget_id": "d57b1d89-8f6c-4ef3-99e8-4c88bc71fd6b"  
> 	  }  
> 	}

📘

Base URL:

https://api.prembly.com