TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation B2B Features Send B2B Connection Request

Send B2B Connection Request

By providing the invited company ID and the connection type, a connection request will be sent to the invited company.

The company GraphQL API is accessible at /company

mutation (
	$invitedCompanyId: ID!
	$connectionType: B2bConnectionType!
          ) {
	createB2bConnectionRequest (
  	invitedCompanyId: $invitedCompanyId
  	connectionType: $connectionType
	) {
  	id
  	status
  	type
  	insertedAt
  	respondedAt
  	updatedAt
  	company {
    	id
  	}
  	user {
    	id
  	}
  	invitedCompany {
    	id
      }
    }
  }