@ppl ,
Try /contacts/unique identifier of the contact in invite contact.
To associate you cannot just pass guid of the record. It has to be /plural entity name (which you get from webapi)/unique identifier of the record
If it answers your question, kindly give kudo and accept it as solution.
Regards,
Prakash