Accept Connection
Accepts a connection sent to the tenant by setting the tenant's side: the given contact, or, with no contact, one created from the details the initiator shared (a supplier and CIS subcontractor when a subcontractor shared its details, a customer when a contractor invited). When the tenant is the contractor, the new subcontractor's HMRC verification is started. The connection is then Connected for both sides.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The tenant code (the organisation's URL stub) |
The tenant code (the organisation's URL stub) |
||
| connection* | path string (uuid) | |
Request Body*
{
"contact": "string"
}
Responses
200 OK
401 Unauthorized – Invalid or missing API key