src/Vendors/Smsgatewayme/Contact.php
public function create(string $name, array $numbers): ?array
    {
        $body = Body::json([
            [
                'name'          => $name,
                'phone_numbers' => $numbers,
            ],
        ]);
        $response = Request::post($this->baseUrl.'contact', [], $body);

        if ($response->code != 200) {
            if (!empty($response->body->message)) {
                Log::error($response->body->message);
            }
        }

        return [
            'code'    => $response->code,
            'message' => ($response->code == 200) ? 'OK' : $response->body->message ?? '',
            'data'    => $response->body,
        ];
    }
public function create(string $name, array $numbers): ?array
    {
        $body = Body::json([
            [
                'name'          => $name,
                'phone_numbers' => $numbers,
            ],
        ]);
        $response = Request::post($this->baseUrl.'contact', [], $body);

        if ($response->code != 200) {
            if (!empty($response->body->message)) {
                Log::error($response->body->message);
            }
        }

        return [
            'code'    => $response->code,
            'message' => ($response->code == 200) ? 'OK' : $response->body->message ?? '',
            'data'    => $response->body,
        ];
    }
Store new contact to SMSGateway.me.

@param string $name
@param array  $numbers

@return array|null