Ich möchte eine SMS senden per PureBasic über hier Lox24.de
Ich verstehe überhaupt nicht wie ich das Einbinden kann.
Kann mir mal einer auf die Sprünge helfen ?
Beschreibung der API Schnittstelle:
Code: Alles auswählen
curl -X GET https://api.lox24.eu/me \
-H 'Host: api.lox24.eu' \
-H 'X-LOX24-AUTH-TOKEN: 1234567:e3f3a759b6677959b6ebfcxxxxxxxxxx'
curl -X POST https://api.lox24.eu/groups/7116/phones \
-H 'Content-Type: application/json' \
-H 'Host: api.lox24.eu' \
-H 'X-LOX24-AUTH-TOKEN: 1234567:e3f3a759b6677959b6ebfcxxxxxxxxxx' \
-d '{
"phone": "+4917663804817",
"a": "o2"
}'
SMS Senden :
{
"text": "string",
"sender_id": "string",
"phone": "string",
"delivery_at": 0,
"source": 0,
"is_unicode": null,
"callback_data": "string",
"service_code": "string",
"voice_lang": null
}
Response samples
{
"@context": "string",
"@id": "string",
"@type": "string",
"text": "string",
"sender_id": "string",
"phone": "string",
"delivery_at": 0,
"status_code": 0,
"gateway_sent_at": 0,
"source": 0,
"dlr_code": 0,
"ip": "string",
"created_at": 1,
"is_unicode": null,
"uuid": "string",
"iso2": "st",
"parts_count": 1,
"chars_count": 1,
"callback_data": "string",
"bulk_id": "string",
"key_id": 1,
"service_code": "string",
"price": 0,
"is_sent": true,
"voice_lang": null
}