ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,023
- Points
- 823
Reputation:
New to the API requests, but I'm trying to set up a test run for creating a new conversation using cUrl in php and a super user api key.
PHP:
Read more
Continue reading...
PHP:
Code:
<?php
// API endpoint URL
$url = 'https://***.com/site/api/conversations';
// API key
$api_key = '****';
// Recipient IDs
$recipient_ids = [663];
// Conversation title
$title = 'API Test';
// Conversation message body
$message = 'Testing the API';
// Data to be sent in the request
$data = [
'recipient_ids' => json_encode($recipient_ids)...
Read more
Continue reading...