public function create(array $fields)
    {
        $url = $this->client->url . "/rest/v1/activities/external.json";
        $response = $this->post($url, ['input' => $fields]);

        if (!$response->success) {
            throw new MarketoApiException('Error creating custom activity: ' . $response->errors[0]->message);
        }
    }