Operation spec
{
"method": "post",
"path": "/encounter/url",
"operationId": "old-generate-encounter-url",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "Input data required to generate an encounter URL, IDs should be the ones from your EHR system.",
"properties": {
"external_encounter_id": {
"type": "string"
},
"external_provider_id": {
"type": "string"
}
},
"required": [
"external_encounter_id",
"external_provider_id"
],
"title": "generate_encounter_url_request"
}
}
}
},
"responses": {
"200": {
"description": "The encounter URL.",
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "The encounter URL response.",
"properties": {
"encounter_url": {
"type": "string",
"description": "URL to open the created encounter."
}
},
"title": "encounter_url_response"
}
}
}
}
}
}