API Docs / Operations / Connections / Accept Connection

Accept Connection

PUT /tenants/{tenant}/connections/{connection}/counterparty

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

NameTypeDescription
tenant* path string

The tenant code (the organisation's URL stub)

The tenant code (the organisation's URL stub)

connection* path string (uuid)
{
  "contact": "string"
}

Responses

400 Bad Request
application/problem+json
401 Unauthorized – Invalid or missing API key
403 Forbidden
application/problem+json
404 Not Found
application/problem+json