API request returning File Not Found

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:

Код:
<?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

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ