What is appgain Smart deeplinks REST API? Smart deeplinks is a simple API allowing authorized users to make CRUD operations on Smart deeplinks product.

API structure https://api.appgain.io/apps/{project_id}/smartlinks
API request curl --request POST\ --url https://api.appgain.io/apps/574ad3de1ffdbfa835465e39/smartlinks --header 'content-type: application/json'\ --data{ "description": "test Facebook Browser", "name": "test", "targates": { "android": { "primary": "http://techcrunch.com", "fallback":"https://techcrunch.com/" }, "web": "https://techcrunch.com/", "ios": { "primary":"http://techcrunch.com", "fallback": "https://techcrunch.com/" } },"slug": "TreMp", "launch_page": { "header": "Please Wait..." }, "image": "https://techcrunch.com/" }
API responses
200 {"status": "failed", "message": "success" , "smartlink": "https://aga.stg.appgain.io/s/TreMp" }
403 {"status": "failed", "message": "Invalid Email or Password" }
409 {"status": "failed", "message": "Conflict, slug not available." }
400 {"status": "failed", "message": "this value is invalid, 't' is too short " }
500 {"status": "failed", "message": "Method Not Allowed" }