One-to-many custom object associations

@JeffBantzyou mentioned you found a way of setting it via the API, is there any documentation for this? I don’t see anything in the CRM Custom Objects API docs. I’m looking to create a manyToOne relationship from contacts to a custom object.

Thanks