GuideLab Docs

Invite a practice that uses Smileline

Records an invitation Smileline emails to the practice. It expires after 7 days unless resent; one pending invitation per address, and at most 20 sends per lab in any 24 hours. Lab managers only.

POST
/partnerships/smileline-invitations

Records an invitation Smileline emails to the practice. It expires after 7 days unless resent; one pending invitation per address, and at most 20 sends per lab in any 24 hours. Lab managers only.

Authorization

__Secure-guidelab-prod.session_token<token>

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/smileline-invitations" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com",    "practiceName": "string",    "country": "string"  }'
{  "invitation": {    "id": "string",    "email": "string",    "practiceName": "string",    "contactName": "string",    "country": "string",    "status": "pending",    "expired": true,    "expiresAt": "string",    "sentAt": "string",    "replacesClinicId": "string",    "createdAt": "string"  }}
Empty
Empty
Empty