Tross
Demo dataBook a demo
ATHENA PROD

Create goal intervention

Create and schedule a goal intervention.

POSThttps://preview.ontross.com/api/integrations/athena-prod/create-goal-intervention
Request Fields
input.org_id
integer
required
Practice context, shown in the athenanet portal URL.
Example
47902
input.department_id
integer
required
Department the session opens, shown in the portal URL.
Example
1
input.patient_id
integer
required
Patient whose chart is read or written, from the chart URL.
Example
4044
input.goal_id
string
required
Goal receiving this change, returned as created_goal_id.
Example
"4216"
input.start_date
string
required
Requested task beginning, passed through without local date parsing.
Example
"2026-10-12T04:00:00.000Z"
input.end_date
string
required
Requested task completion boundary, passed through without local date parsing.
Example
"2026-12-14T05:00:00.000Z"
input.intervention_title
string
required
Name of the clinician-performed intervention under the goal.
Example
"Practice deep breathing techniques"
auth_id
string
required
Saved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"
Output Fields
created_intervention_id
string
Task Athena created as the goal's intervention.
Example
"909272"
health_concern_id
string
Parent behavioral concern, which doubles as the treatment plan id.
Example
"9064"
goal_id
string
Goal receiving this change, returned as created_goal_id.
Example
"9086"
patient_id
integer
Patient whose chart is read or written, from the chart URL.
Example
9074621
time_period_result
any
Raw response from setting the task's start and end dates.
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/athena-prod/create-goal-intervention \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"org_id":47902,"department_id":1,"patient_id":4044,"goal_id":"4216","start_date":"2026-10-12T04:00:00.000Z","end_date":"2026-12-14T05:00:00.000Z","intervention_title":"Practice deep breathing techniques"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "org_id": 47902,
    "department_id": 1,
    "patient_id": 4044,
    "goal_id": "4216",
    "start_date": "2026-10-12T04:00:00.000Z",
    "end_date": "2026-12-14T05:00:00.000Z",
    "intervention_title": "Practice deep breathing techniques"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "created_intervention_id": "909272",
    "health_concern_id": "9064",
    "goal_id": "9086",
    "patient_id": 9074621,
    "time_period_result": null
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}