Changes for page Services

Last modified by editor on 2017/12/03 07:32

From version < 13.2 >
edited by Zoltan Farkas
on 2016/12/02 15:11
To version < 14.1 >
edited by Zoltan Farkas
on 2016/12/02 15:13
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -120,8 +120,17 @@
120 120  
121 121  By using this call you tell Caret that your service will actualy publish call statuses in the future. The API call is really simple:
122 122  
123 -{{{<appinit_id>}}}}
123 +(% style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;" %)
124 +(((
125 +{{{$ curl -X POST -u <service_id>:<service_secret> --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{}' https://test-api.caret.co/api/v1.0/services/<phone_number>/appinit
126 +{
127 + "uuid": ""
128 +}}}}
129 +)))
124 124  
131 +{{{
132 + }}}
133 +
125 125  {{{Dead simple JSON POST request. The variable you have to substitue are the followings:}}}
126 126  
127 127  * <service_id>: the ID of your service