Rekamedika Docs
SATUSEHAT Clinical

GET /satusehat/encounter

GET
/satusehat/encounter

SATUSEHAT proxy route (apps/server/src/satusehat/routes-clinical.ts). Requires a verified session cookie or OAuth Bearer; OAuth callers need simrs:read. Tenant + roles come from the credential — never from the request. Access tokens for the national SATUSEHAT platform stay server-side.

Authorization

AuthorizationBearer <token>

OAuth 2.0 / OIDC issued by the API itself (better-auth oidcProvider). Dynamic client registration per RFC 7591 at /api/auth/oauth2/register.

In: header

Scope: simrs:read

Query Parameters

page?integer
Range0 < value <= 9007199254740991
size?integer
Range0 < value <= 100
keyword?string
Lengthlength <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/satusehat/encounter"
{}
{  "error": "string",  "issues": []}
{  "error": "string",  "code": "string",  "upstreamStatus": 0}
{  "error": "string",  "code": "string",  "upstreamStatus": 0}
{  "error": "string",  "code": "string",  "upstreamStatus": 0}

Is this page helpful?