Set SMS Contact
POST
                                        https://txtria.com/api/setsmscontact
                                    Query Parameter
| Key | Description | Required | Example | 
|---|---|---|---|
| number | TxTRIA number | Yes | 5876000060 | 
| tid | TxTRIA number TID | Yes | 76TH765HG | 
| first_name | String | No | Devin | 
| last_name | String | No | L | 
| String | No | email@somedomain.com | |
| notes | String maximum 1000 characters | No | Some notes | 
| sys_id | Your TxTRIA sys_id | Yes | ACfc98e7b0aae031b9h... | 
| auth_token | Your TxTRIA account token | Yes | c74eac89884a126a2c... | 
$url =  'https://txtria.com/api/setsmscontact'; 
$data = array(
	'first_name' => 'Devin',
	'last_name' => 'L',
	'email' => 'email@somedomain.com',
	'notes' => 'Some notes',
	'number' => '5876000060',
	'tid' => '8A2G0J2K2818',
	'sys_id' => 'ACfc98e7b0aae031b9fa',
	'auth_token' => 'c74eac89884a126a2cca'
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
                                    Example Response
{
    "success": "1",
    "message": "Successfully set SMS contact"
}