Update Contact
Endpoint
[PATCH] https://usenotifier.com/api/contacts/174926c5-becf-4c56-a447-fbd9f6d99dcfExample Request
$response = Http::withToken('YOUR_API_KEY')
->patch('https://usenotifier.com/api/contacts', [
"firstname" => "Jane",
"lastname" => "Smith"
]);$client = new Client();
$headers = [
'Accept' => 'application/json',
'Authorization' => 'Bearer YOUR_API_KEY',
'Content-Type' => 'application/x-www-form-urlencoded'
];
$options = [
'form_params' => [
'to' => '+447700900389',
'body' => 'Hello World!'
]];
$request = new Request('POST', 'https://usenotifier.com/api/sms', $headers);
$res = $client->sendAsync($request, $options)->wait();
echo $res->getBody();curl --location --request POST 'https://usenotifier.com/api/sms'
--header 'Accept: application/json'
--header 'Authorization: Bearer YOUR_API_KEY'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'to=+447700900389'
--data-urlencode 'body=Hello World!'firstname: optional | nullable
The contacts firstname.
last name: optional | nullable
The contacts last name.
Example Response
Last updated
Was this helpful?