Request a partnership with another organization
Send a partnership request to another organization. The target must be a different type (lab requests clinic, clinic requests lab). Sends a notification to the target organization's owners. Available to both labs and clinics.
Send a partnership request to another organization. The target must be a different type (lab requests clinic, clinic requests lab). Sends a notification to the target organization's owners. Available to both labs and clinics.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/partnerships/request" \ -H "Content-Type: application/json" \ -d '{ "targetOrgId": "string" }'{ "partnership": null}Reject a pending partnership request POST
Reject a pending partnership request. Only the receiving party can reject. Sends a notification to the initiating party and retains the rejected relationship epoch as immutable history. Available to both labs and clinics.
Resend partnership invitation email POST
Resend the invitation email for a pending partnership. Extends the invitation expiry by 30 days. Lab only - only the lab that initiated the partnership can resend.