I was message to ask as i am planning to preform temporary marriage between myself and a woman, is it necessary to have any witnesses and also is this the only formula required to say or is there other formulas.

زَوَّجْتُكَ نَـفْسِي فِي الْمُدَّةِ الْمَعْلُومَةِ عَلَىٰ الْمَهْرِ الْمَعْلُومِ

zawwajtuka nafsī fil muddatil maʿlūmah ʿalal mahril maʿlūm

I wed myself to you for the determined period
for the determined dowry.

Thereafter, without there being any significant gap, the man says:

قَبِلْتُ

qabiltu

I accept

This is enough, provided that the period and the dowry are agreed initially.