> For the complete documentation index, see [llms.txt](https://docs-vnext.kiflo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-vnext.kiflo.com/developers/api-reference/account-mapping-collaborations/start-a-collaboration.md).

# Start a collaboration

Start a collaboration with a partner on an account mapping overlap between one of your accounts and one of the partner's accounts. The context is saved as a public note on the collaboration, so the partner can read it. This endpoint requires a HubSpot-issued access token: the collaboration is owned by and attributed to the user that token was issued for, which a Public API key does not identify.

```json
{"openapi":"3.0.1","info":{"title":"Kiflo Public API v3","version":"v3"},"security":[{"oauth2":["AccountMappingCollaboration.Create","HubSpot"]}],"components":{"securitySchemes":{},"schemas":{"AccountMappingCollaborationStartRequestDto":{"type":"object","properties":{"accountId":{"type":"integer","description":"The ID of your account on the overlap.","format":"int32"},"overlappingAccountId":{"type":"integer","description":"The ID of the partner's account overlapping Resels.Backend.Api.Public.Model.AccountMappingCollaborations.v3.AccountMappingCollaborationStartRequestDto.AccountId.","format":"int32"},"context":{"type":"string","description":"The context shared with the partner, saved as a public note on the collaboration. Required.","nullable":true},"assignedUserId":{"type":"integer","description":"The ID of the Kiflo user of the partner team member assigned to the collaboration. Optional.","format":"int32","nullable":true}},"additionalProperties":false},"AccountMappingCollaborationDto":{"type":"object","properties":{"id":{"type":"integer","description":"The ID of the collaboration.","format":"int32"},"name":{"type":"string","description":"The name of the collaboration, built from your account and the partner names.","nullable":true},"status":{"$ref":"#/components/schemas/CollaborationStatus"},"partnerId":{"type":"integer","description":"The ID of the partner the collaboration is started with.","format":"int32"},"tenantAccountId":{"type":"integer","description":"The ID of your account on the overlap the collaboration was started from.","format":"int32"},"partnerAccountId":{"type":"integer","description":"The ID of the partner's account on the overlap the collaboration was started from.","format":"int32"},"ownerUserId":{"type":"integer","description":"The ID of the user owning the collaboration on your side.","format":"int32","nullable":true},"assignedUserId":{"type":"integer","description":"The ID of the Kiflo user of the partner team member assigned to the collaboration.","format":"int32","nullable":true},"creationDate":{"type":"string","description":"The date the collaboration was created, in UTC.","format":"date-time"}},"additionalProperties":false},"CollaborationStatus":{"enum":["Unknown","New","Accepted","Refused","Abandoned","Closed","Converted"],"type":"string"}}},"paths":{"/v3/account-mapping/collaborations":{"post":{"tags":["AccountMappingCollaborations"],"summary":"Start a collaboration","description":"Start a collaboration with a partner on an account mapping overlap between one of your accounts and one of the partner's accounts.\r\nThe context is saved as a public note on the collaboration, so the partner can read it.\r\nThis endpoint requires a HubSpot-issued access token: the collaboration is owned by and attributed to the user that token was issued for, which a Public API key does not identify.","requestBody":{"content":{"application/json-patch+json":{"schema":{"$ref":"#/components/schemas/AccountMappingCollaborationStartRequestDto"}},"application/json":{"schema":{"$ref":"#/components/schemas/AccountMappingCollaborationStartRequestDto"}},"text/json":{"schema":{"$ref":"#/components/schemas/AccountMappingCollaborationStartRequestDto"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AccountMappingCollaborationStartRequestDto"}}}},"responses":{"200":{"description":"Collaboration started","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountMappingCollaborationDto"}}}},"400":{"description":"Invalid request"},"403":{"description":"The access token was not issued by HubSpot, the account mapping feature is not available, or the user cannot start collaborations"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-vnext.kiflo.com/developers/api-reference/account-mapping-collaborations/start-a-collaboration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
