Validate integration token and mark organization as integrated

| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token with JWT authentication token |
x-organization-secret | Yes | Organization-specific secret for validation |
x-partner-secret | Deprecated | Use x-organization-secret instead |
| Parameter | Type | Required | Description |
|---|---|---|---|
organization_id | string | Yes | Unique identifier for the organization |
| Code | Status | Description |
|---|---|---|
200 | OK | Token successfully validated and organization marked as integrated |
400 | Bad Request | Deprecated header used or invalid request format |
401 | Unauthorized | Invalid token, missing credentials, or insufficient permissions |
500 | Internal Server Error | Validation service failure |
CREATE_PATIENT scoperequestId from error responses for support requestsBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Organization secret for authentication - provided by Parchment
Organization ID
Token validation successful and organization marked as integrated