sipgate SMS API Beispiele
#get user_id
curl –user you@example.com:yourPassword \
–request GET \
–url https://api.sipgate.com/v2/users
#get sms_id
curl –user you@example.com:yourPassword \
–request GET \
–url https://api.sipgate.com/v2/<user_id>/sms
#send sms
curl –user you@example.com:yourPassword \
–request POST \
–header „Content-Type: application/json“ \
–header „Accept: application/json“ \
–data '{"smsId": "<sms_id>", "recipient": "<phone_number>", "message": "I :love: sipgate!"}' \
https://api.sipgate.com/v2/sessions/sms