Goals API: Update check in
Endpoint#
Section titled “Endpoint#”| Property | Value |
|---|---|
| Type | mutation |
| Method | POST |
| Path | /api/external/v1/goals/update_check_in |
| Handler | OperatelyWeb.Api.Goals.UpdateCheckIn |
Authentication#
Section titled “Authentication#”- Requires a valid API token.
- Requires a write-enabled token.
- Read-only tokens return
403.
| Field | Type | Required | Nullable | Default |
|---|---|---|---|---|
id | id primitive (encoded as string) | Yes | No | - |
due_date | contextual_date object | Yes | Yes | - |
status | goal_check_in_status enum (on_track, caution, off_track) | Yes | No | - |
content | json primitive (encoded as string) | Yes | No | - |
state | check_in_state enum (draft, scheduled, published) | No | Yes | - |
new_target_values | string | No | Yes | - |
checklist | array of goal_check_update object | No | Yes | - |
scheduled_at | datetime | No | Yes | - |
Outputs#
Section titled “Outputs#”| Field | Type | Required | Nullable |
|---|---|---|---|
update | goal_progress_update object | No | Yes |
cURL Example#
Section titled “cURL Example#”Copied
curl --request POST \
--url "https://app.operately.com/api/external/v1/goals/update_check_in" \
--header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
--header "Content-Type: application/json" \
--data '{"checklist":[{"completed":true, "id":"value", "index":123, "name":"value"}], "content":"value", "due_date":{"__typename":"value", "date":"2026-01-01", "date_type":"day", "value":"value"}, "id":"value", "new_target_values":"value", "scheduled_at":"2026-01-01T09:30:00Z", "state":"draft", "status":"on_track"}'Response Example#
Section titled “Response Example#”{ "update": { "__typename": "value", "acknowledged": true, "acknowledged_at": "2026-01-01T09:30:00Z", "acknowledging_person": "<person>", "author": "<person>", "checklist": [ "<goal_check_update>" ], "comments_count": 123, "goal": "<goal>", "goal_target_updates": [ "<goal_target_updates>" ], "id": "value", "inserted_at": "2026-01-01T09:30:00Z", "message": "value", "notifications": [ "<notification>" ], "permissions": "<goal_update_permissions>", "potential_subscribers": [ "<subscriber>" ], "published_at": "2026-01-01T09:30:00Z", "reactions": [ "<reaction>" ], "scheduled_at": "2026-01-01T09:30:00Z", "state": "draft", "status": "on_track", "subscription_list": "<subscription_list>", "timeframe": "<timeframe>", "updated_at": "2026-01-01T09:30:00Z" }}