openapi: 3.2.0 info: title: Predoc Partner Authentication API description: API for the Predoc platform to allow partners to request the retrieval of patient records. version: '1.1' contact: {} servers: - url: https://partner-api-stage.predoc.ai/api tags: - name: Authentication description: '' paths: /v1/auth/token: post: description: 'Validates the supplied client credentials and returns a JWT access token for authenticating subsequent requests to the Predoc Partner API. Provide `client_id` and `secret_key` in the request body. If the credentials are valid, the JWT is returned in the `access_token` field. ### Using the token Include the token in the `Authorization` header for subsequent requests: ```http Authorization: Bearer ``` ### Token expiration Access tokens are valid for 5 minutes and should be refreshed before they expire.' operationId: AuthController_signIn_v1 parameters: [] requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/GetAccessTokenInput' responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/GetAccessTokenResponse' summary: Get Access Token tags: - Authentication components: schemas: GetAccessTokenInput: type: object properties: client_id: type: string description: Client ID of the application requesting the access token. example: test_account secret_key: type: string description: Client secret of the application requesting the access token. example: $up3r$3cr3tK3y! required: - client_id - secret_key GetAccessTokenResponse: type: object properties: access_token: type: string description: Access token JWT that can be used for authenticated requests. example: eyJh...od4w required: - access_token securitySchemes: bearer: scheme: bearer bearerFormat: JWT type: http x-provenance: method: searched source: https://docs.predoc.ai/reference harvested: '2026-10-14' tool: harvest-readme-openapi.py note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored. assembled_from: - https://docs.predoc.ai/reference/authcontroller_signin_v1.md - https://docs.predoc.ai/reference/curatedpatientdatacontroller_getcuratedpatientdata_v1.md - https://docs.predoc.ai/reference/documentcontroller_getpatientclinicalsummary_v1.md - https://docs.predoc.ai/reference/patientcontroller_addrequesttoexistingpatient_v1.md - https://docs.predoc.ai/reference/patientcontroller_createpatient_v2.md - https://docs.predoc.ai/reference/patientcontroller_getavailablepatientchemistries_v1.md - https://docs.predoc.ai/reference/patientcontroller_getpatientinformation_v1.md - https://docs.predoc.ai/reference/patientcontroller_getpatientlabresultsbysearch_v1.md - https://docs.predoc.ai/reference/patientcontroller_getpatientrequests_v1.md - https://docs.predoc.ai/reference/patientcontroller_requestpatientclinicalsummary_v1.md - https://docs.predoc.ai/reference/patientcontroller_searchpatientdocuments_v2.md - https://docs.predoc.ai/reference/patientcontroller_searchpatientsbyinformation_v1.md - https://docs.predoc.ai/reference/patientcontroller_updatepatientinformation_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientadditionalrecords_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientdocuments_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientdrugallergies_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientfacesheetoutput_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientfacesheets_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatienthiedocs_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientimagingresults_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientlabtests_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientmedications_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientotherrecords_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientprocedurenotes_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientproviderfacilitynotes_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientvaccinedocuments_v1.md - https://docs.predoc.ai/reference/patientdocumentscontroller_getpatientvaccinerecords_v1.md - https://docs.predoc.ai/reference/recorduploadcontroller_getanonymousrecorduploadstatus_v1.md - https://docs.predoc.ai/reference/recorduploadcontroller_uploadanonymousrecord_v1.md - https://docs.predoc.ai/reference/recorduploadcontroller_uploadrecordv2_v2.md - https://docs.predoc.ai/reference/requestcontroller_createrecordrequestv2_v2.md - https://docs.predoc.ai/reference/requestcontroller_facesheetconfigs_v1.md - https://docs.predoc.ai/reference/requestcontroller_getlistofrecordrequests_v2.md - https://docs.predoc.ai/reference/requestcontroller_updateexistingrecordrequest_v1.md - https://docs.predoc.ai/reference/retrievalcontroller_closeretrieval_v1.md - https://docs.predoc.ai/reference/retrievalcontroller_getretrieval_v1.md - https://docs.predoc.ai/reference/webhookconfigurationcontroller_createwebhookconfiguration_v1.md - https://docs.predoc.ai/reference/webhookconfigurationcontroller_deletewebhookconfiguration_v1.md - https://docs.predoc.ai/reference/webhookconfigurationcontroller_listwebhookconfigurations_v1.md - https://docs.predoc.ai/reference/webhookconfigurationcontroller_updatewebhookconfiguration_v1.md merge: pages: 40 deduped: 88 conflicts_kept_first: 0