Download OpenAPI specification:
RESTful API for controlling Temi robots in an organization.
Authenticate every request with an Organization Access Token (OAT) in the
x-api-key header. Tokens are scoped; each endpoint requires the permission
noted in its description.
OpenAPI control requires a PRO (or PRO free-trial) robot, matching launcher
SDK access. GET /robots omits BASIC robots. Robot-scoped endpoints return
403 for BASIC robots. GET /verify is not robot-gated.
Robots are identified by hardware serialNumber in paths and request bodies.
Validates the OAT and returns organization, scope, and robot access metadata.
{- "status": "ok",
- "organizationId": "string",
- "tokenId": "string",
- "scopes": [
- "string"
], - "robotScope": "all",
- "serialNumbers": [
- "00123456789"
]
}Returns identity, presence, and last-known activity for a single PRO robot.
status is online, offline, busy, or privacy.
Privacy is reported even though the robot publishes MQTT presence as offline.
Optional movement, sequence, call, and battery come from retained MQTT
(same topics Center uses). They are omitted when the broker has no payload.
Polling after play
MOVEMENT to home base.sequence.status is not start (complete,
abort, or absent) and movement.type is idle (or go_to with
status: complete and location = home base).START_CALL holds the sequence until the call ends. Meanwhile
call.status is start (ringing or connected). call.hostId is the
meeting host from retained telepresence extra.
Required scope: read:robot:status
| serialNumber required | string = 11 characters ^[0-9]{11}$ Example: 00123456789 11-digit hardware serial from |
{- "teminame": "Reception",
- "serialNumber": "00123456789",
- "status": "online",
- "movement": {
- "type": "go_to",
- "status": "going",
- "location": "home base"
}, - "sequence": {
- "status": "start",
- "name": "Ward round",
- "step": 2,
- "total": 4
}, - "call": {
- "status": "start",
- "hostId": "e033cb9317de7969fa0712237ce199d6"
}, - "battery": {
- "level": 87,
- "isCharging": false
}
}Returns named map locations for a PRO robot. Use these names as
extra.locationName in MOVEMENT actions.
Required scope: read:robot:locations
| serialNumber required | string = 11 characters ^[0-9]{11}$ Example: 00123456789 11-digit hardware serial from |
{- "serialNumber": "string",
- "mapId": "string",
- "mapName": "string",
- "locations": [
- {
- "name": "string"
}
]
}Returns project members of this robot who can receive a START_CALL.
Only root, admin, collaborator, and guest roles with access to this robot
are included. Org/robot contacts who are not members do not appear — add
them as a member in Center first.
name uses the organization Contacts display name when available, otherwise
the member login username.
Each temiId is unique in the list. Use it in START_CALL contactIds.
Required scope: read:robot:contact
| serialNumber required | string = 11 characters ^[0-9]{11}$ Example: 00123456789 11-digit hardware serial from |
{- "contacts": [
- {
- "temiId": "string",
- "name": "string",
- "kind": "member",
- "source": "organization"
}
]
}Validates a sequence request body without persisting or dispatching it. Use this to check action layout, required fields, and resolvable contacts before execution. This endpoint does not check whether the robot is currently online, in Privacy mode, or busy.
Required scope: action:robot:sequence
| serialNumber required | string = 11 characters ^[0-9]{11}$ 11-digit hardware serial from |
required | Array of objects (SequenceAction) non-empty Ordered actions for the robot to execute. |
| name | string Optional sequence name. |
| description | string |
| volume | number [ 1 .. 10 ] Default: 5 Playback volume from 1 (quietest) to 10 (loudest). Defaults to |
| fixedVolume | boolean If true, volume is fixed for the sequence duration. |
| startFromStep | integer >= 1 Step at which playback begins. Defaults to |
| repeatSequence | integer >= -1 Extra times to run the sequence after the first pass.
Use |
object (SequenceStopBy) Conditions that allow a user to interrupt the sequence. |
{- "serialNumber": "00123456789",
- "actions": [
- {
- "type": "MOVEMENT",
- "step": 1,
- "startStep": 1,
- "endStep": 1,
- "finalInEndStep": true,
- "delay": 0,
- "actionId": "string",
- "location": "string",
- "tts": "string",
- "language": "",
- "display": "none",
- "contactIds": [
- "string"
], - "platform": "both",
- "extra": {
- "locationName": "string",
- "speed": "veryLow",
- "onError": "abortSequence",
- "personalLead": false
}
}
], - "name": "string",
- "description": "string",
- "volume": 5,
- "fixedVolume": true,
- "startFromStep": 1,
- "repeatSequence": -1,
- "stopBy": {
- "touchScreen": true,
- "wakeup": true
}
}{- "status": "valid"
}Runs a sequence on a robot. A sequence is an ordered list of actions (navigate, speak, place a video call). The request is accepted asynchronously; the robot executes the sequence after delivery.
Recommended flow
GET /robots — select a robot by serialNumberGET /robots/{serialNumber} — confirm status is onlineGET /robots/{serialNumber}/locations — resolve location names for navigationGET /robots/{serialNumber}/contacts — resolve temiId for callsPOST /sequences/play — submit the sequence with serialNumberGET /robots/{serialNumber} until the sequence finished and the
robot is idle / at home base.Play is accepted only when the robot is online and not in Privacy mode.
Privacy, offline, and busy return 409 with robot_privacy, robot_offline,
or robot_busy. Check status before play.
Path parameters and play/validate bodies use hardware serialNumber only.
Supported action types
| Type | Purpose | Required fields |
|---|---|---|
MOVEMENT |
Navigate to a map location | location or extra.locationName |
SPEAK |
Speak text | tts or extra.tts; optional language, display (none, text, talk) |
START_CALL |
Start a video call | contactIds (unique temiIds); optional per-contact or action-level platform (both, mobile, web, same as Center); occupies a single step |
Note: For privacy reasons, this endpoint does not support CAMERA
actions. If the request contains a CAMERA action, the endpoint
returns 400. To record photos or videos, use a sequence that
contains camera steps in Temi Center. To fetch the files, refer to
Sequence Media.
Compact requests may use step instead of startStep/endStep.
See the minimal example.
Constraints
type and either step or startStep/endStep.startStep and endStep to the same value (or use step).MOVEMENT and SPEAK may share a step. START_CALL must not share a step with MOVEMENT or SPEAK (overlap is rejected).START_CALL must start and end on the same step. finalInEndStep can be omitted; the server always sets it to true.START_CALL requires contactIds (a non-empty array of unique temiIds after trim).
Duplicates are rejected. One id is a 1:1 call; two or more is a group call.mobile (temi phone app), web (temi Center),
or both (phone and Center, default). Each contact may set its own platform;
otherwise the action-level platform applies to every invited person.repeatSequence must be an integer >= -1 (-1 = infinite repeat).startFromStep must be an integer >= 1 and not beyond the last sequence step.MOVEMENT location names from GET /robots/{serialNumber}/locations.SPEAK language: omit or use "" to use the robot's current TTS language.
See SpeakExtra.language for supported locales. If the requested locale is unavailable
on the robot, speech uses the current system TTS.409 when the robot is in Privacy mode, offline, or busy.Required scope: action:robot:sequence
| serialNumber required | string = 11 characters ^[0-9]{11}$ 11-digit hardware serial from |
required | Array of objects (SequenceAction) non-empty Ordered actions for the robot to execute. |
| name | string Optional sequence name. |
| description | string |
| volume | number [ 1 .. 10 ] Default: 5 Playback volume from 1 (quietest) to 10 (loudest). Defaults to |
| fixedVolume | boolean If true, volume is fixed for the sequence duration. |
| startFromStep | integer >= 1 Step at which playback begins. Defaults to |
| repeatSequence | integer >= -1 Extra times to run the sequence after the first pass.
Use |
object (SequenceStopBy) Conditions that allow a user to interrupt the sequence. |
{- "serialNumber": "00123456789",
- "actions": [
- {
- "type": "MOVEMENT",
- "step": 1,
- "location": "Room 12"
}, - {
- "type": "SPEAK",
- "step": 2,
- "tts": "Hello, your robot is here."
}, - {
- "type": "START_CALL",
- "step": 3,
- "contactIds": [
- "<temiId>"
]
}, - {
- "type": "MOVEMENT",
- "step": 4,
- "location": "home base"
}
]
}{- "status": "accepted",
- "sequenceId": "string",
- "serialNumber": "string"
}Stops an OpenAPI sequence that is currently running on a robot. Only the
same Organization Access Token that called POST /sequences/play may stop
that run, using the sequenceId returned from play.
The server confirms the robot is still running that sequence (retained
sequence.sequenceId from GET /robots/{serialNumber}) before dispatching
MQTT stop. This avoids halting a different sequence that started later.
Required scope: action:robot:sequence
| sequenceId required | string non-empty Run identifier returned by |
{- "sequenceId": "615b14b41a20f8423a7af06a"
}{- "status": "accepted",
- "sequenceId": "string",
- "serialNumber": "string"
}Use these endpoints to fetch the photos and videos that a robot records during camera steps.
Example
A hospital creates a ward-round sequence in Temi Center. The robot
visits each bed and takes a photo. Each run includes two rounds.
sequenceRunId.ready.Note: For privacy reasons, POST /sequences/play
does not support CAMERA actions.
Terms
| Term | Definition |
|---|---|
Run (sequenceRunId) |
One start of a sequence on one robot. If an operator starts the same sequence again, Temi creates a new run. |
Iteration (iteration) |
One pass through the sequence in a run. The first iteration is 1. A sequence that repeats has more than one iteration in the same run. |
Camera step (actionRunId) |
One camera action in an iteration. A camera step can record one or more files. |
Media key (mediaKey) |
The storage key of one photo or video. Copy it from a response. Do not build the key yourself. Use it to request a signed download URL. |
How to fetch the files
Webhook events and these endpoints do not include download URLs. Do these steps:
mediaKey.mediaKey values to request signed download URLs.Retention
Media status
Each iteration has a mediaStatus. Temi calculates the status when it
receives your request.
| Status | Definition | Action |
|---|---|---|
pending |
The robot has not reported its capture count, or the uploads are not complete. | Continue to poll. |
ready |
Every file that the robot reported is uploaded. | Fetch the file list, then download the files. |
partial |
The robot reported its capture count more than 15 minutes ago. Some files are not uploaded. | Download the available files. Continue to poll. The status can change to ready. |
unconfirmed |
The robot has not reported a capture count for more than 30 minutes. Temi starts this timer at the last upload. If there is no upload, Temi starts the timer when it records the iteration. | Download the available files. The robot can report the count later. |
empty |
The iteration is complete, and the robot reported zero files. | No action is required. There are no files. |
Temi sends webhook events only for ready and empty. To see
pending, partial, and unconfirmed, please use the polling
endpoints GET /sequence-media/runs
and GET /sequence-media.
Integration flow
flowchart TD
A["Get an Organization Access Token"] --> B["GET /verify"]
B --> E{"Use webhooks?"}
E -->|Yes| C["POST /webhooks"]
C --> D["Receive sequence.media.ready"]
D --> H{"mediaStatus"}
E -->|No| G["GET /sequence-media/runs"]
G --> P["Poll GET /sequence-media"]
P --> Q{"mediaStatus"}
Q -->|"pending, partial, or unconfirmed"| P
Q -->|empty| Z["No files"]
Q -->|ready| I["Read the mediaKey values"]
H -->|empty| Z
H -->|ready| I
I --> J["POST /sequence-media/signed-urls"]
J --> K["Download the files"]
K --> M["Optional: DELETE /sequence-media"]
late is a webhook field. The polling responses do not include it.
If you use webhooks
GET /verify and confirm that the
token has the required scopes.POST /webhooks.sequence.media.ready, verify X-Temi-Signature.2xx status code within 10 seconds.GET /sequence-media.late: true and a different eventId. Fetch
the file list again. Do not ignore that event because
sequenceRunId and iteration match the first event.partial or unconfirmed. Poll
GET /sequence-media when you
need files in those statuses.If you do not use webhooks
Do these steps:
GET /sequence-media/runs
to find runs and iterations. You can omit every query parameter.GET /sequence-media
with sequenceRunId and iteration.mediaStatus in iterations[0].mediaStatus is ready or empty.late. After the first ready,
poll again and compare registeredCount. If the number is higher,
fetch the file list again.429
or Retry-After.Returns one entry for each recorded iteration on the robots that this token can access. The run appears in the list once per iteration. You can omit every query parameter. Temi then returns the newest iterations for this token, up to the default limit.
If you do not use webhooks, use this endpoint to find sequenceRunId
values.
Temi records an iteration when the robot reports it, or when the first file for that iteration is uploaded. This endpoint returns only iterations that Temi has recorded.
Filters
You can filter by these parameters:
serialNumber)sequenceId)sequenceRunId)from and to)The from and to values are inclusive. Use ISO 8601 with a time
zone, for example Z or +08:00.
Order and limits
sequenceRunId, Temi sorts by iteration in ascending
order. You receive the lowest iteration numbers first.sequenceRunId, Temi sorts by createdAt in descending
order. You receive the newest rows first.limit is 100. The maximum limit is 500.from and to filter createdAt.
They are not a cursor.limit, Temi omits the rest. The response
does not say that rows were omitted.totalIterations of -1 can contain more than 500
iterations. This endpoint cannot return the rest.To fetch the status and the files for one iteration, use
GET /sequence-media.
Access
If you pass a serialNumber that this token cannot access, the
endpoint returns 403.
Required scope: read:sequence:media
| serialNumber | string = 11 characters ^[0-9]{11}$ Example: serialNumber=00123456789 Returns only the iterations from this robot. If the token cannot access the robot, the endpoint returns |
| sequenceId | string Example: sequenceId=c4e8a1d07b2f49e6a3c81590 The Temi Center sequence id. This value matches |
| sequenceRunId | string Example: sequenceRunId=run_e4d5c678-9abc-4def-8012-3456789abcde Returns only the iterations of this run. Temi sorts them by |
| from | string <date-time> Example: from=2026-09-01T00:00:00Z The earliest |
| to | string <date-time> Example: to=2026-09-07T23:59:59Z The latest |
| limit | integer [ 1 .. 500 ] Default: 100 The maximum number of entries to return. The default is 100. The maximum is 500. This endpoint does not support pagination. |
The newest iterations from all robots that the token can access. This run appears two times because it has two iterations.
{- "runs": [
- {
- "sequenceRunId": "run_e4d5c678-9abc-4def-8012-3456789abcde",
- "serialNumber": "00123456789",
- "sequenceId": "c4e8a1d07b2f49e6a3c81590",
- "iteration": 2,
- "totalIterations": 2,
- "mediaStatus": "ready",
- "capturedCount": 3,
- "registeredCount": 3,
- "mediaCount": 3,
- "createdAt": "2026-09-07T10:04:00.000Z"
}, - {
- "sequenceRunId": "run_e4d5c678-9abc-4def-8012-3456789abcde",
- "serialNumber": "00123456789",
- "sequenceId": "c4e8a1d07b2f49e6a3c81590",
- "iteration": 1,
- "totalIterations": 2,
- "mediaStatus": "ready",
- "capturedCount": 3,
- "registeredCount": 3,
- "mediaCount": 3,
- "createdAt": "2026-09-07T10:00:00.000Z"
}
]
}Returns the status and the stored photos and videos for one run. Use this endpoint for these tasks:
Iterations
iteration.iteration.Response
The response contains these fields:
run: A summary of the files in this result. This object does not
contain mediaStatus.iterations: The status of each iteration in this result. Each
entry contains mediaStatus. Temi sorts the entries by iteration
in ascending order.actionRuns: The camera steps that have stored files.items: The stored files.If you pass iteration, the iterations array contains one entry.
Read iterations[0].mediaStatus.
The response does not include late. That field exists only on the
sequence.media.ready webhook. After mediaStatus is ready,
compare registeredCount with your previous read. If the number is
higher, fetch the file list again.
The response does not contain download URLs. To download the files,
send the mediaKey values to
POST /sequence-media/signed-urls.
For the mediaStatus values and the polling procedure, refer to
Sequence Media.
Errors
The endpoint returns 404 in these conditions:
List, delete, and signed URLs return 403 for a robot outside this
token. This endpoint returns 404 for that same condition.
Required scope: read:sequence:media
| sequenceRunId required | string The run identifier. Read it from a webhook event, or from |
| iteration | integer >= 1 The iteration number. The first iteration is |
All the files of iteration 2 are available.
{- "run": {
- "sequenceRunId": "run_e4d5c678-9abc-4def-8012-3456789abcde",
- "serialNumber": "00123456789",
- "sequenceId": "c4e8a1d07b2f49e6a3c81590",
- "sequenceName": "ward-round",
- "previewCoverMediaKey": "64b0c1d2e3f4a5b6c7d8e9f0/sequence-media/5f1a2b3c4d5e6f708192a3b4/c4e8a1d07b2f49e6a3c81590/photo-1.jpg",
- "mediaCount": 1,
- "actionRunCount": 1,
- "firstCaptureAt": "2026-09-07T10:05:00.000Z",
- "lastCaptureAt": "2026-09-07T10:05:00.000Z"
}, - "iterations": [
- {
- "sequenceRunId": "run_e4d5c678-9abc-4def-8012-3456789abcde",
- "serialNumber": "00123456789",
- "sequenceId": "c4e8a1d07b2f49e6a3c81590",
- "iteration": 2,
- "totalIterations": 2,
- "mediaStatus": "ready",
- "capturedCount": 1,
- "registeredCount": 1,
- "mediaCount": 1,
- "plannedMediaCount": 1,
- "createdAt": "2026-09-07T10:04:00.000Z"
}
], - "actionRuns": [
- {
- "actionRunId": "act_7f3e2d1c",
- "sequenceRunId": "run_e4d5c678-9abc-4def-8012-3456789abcde",
- "coverMediaKey": "64b0c1d2e3f4a5b6c7d8e9f0/sequence-media/5f1a2b3c4d5e6f708192a3b4/c4e8a1d07b2f49e6a3c81590/photo-1.jpg",
- "mediaCount": 1,
- "firstCaptureAt": "2026-09-07T10:05:00.000Z",
- "lastCaptureAt": "2026-09-07T10:05:00.000Z"
}
], - "items": [
- {
- "mediaKey": "64b0c1d2e3f4a5b6c7d8e9f0/sequence-media/5f1a2b3c4d5e6f708192a3b4/c4e8a1d07b2f49e6a3c81590/photo-1.jpg",
- "serialNumber": "00123456789",
- "sequenceId": "c4e8a1d07b2f49e6a3c81590",
- "sequenceName": "ward-round",
- "sequenceRunId": "run_e4d5c678-9abc-4def-8012-3456789abcde",
- "actionRunId": "act_7f3e2d1c",
- "iteration": 2,
- "fileSize": 482133,
- "mimeType": "image/jpeg",
- "captureAt": "2026-09-07T10:05:00.000Z",
- "uploadedAt": "2026-09-07T10:05:04.000Z",
- "expiresAt": "2026-09-14T10:05:04.000Z",
- "storageRegion": "global",
- "isCover": true
}
]
}Deletes one stored file before it expires.
Caution: Confirm that the mediaKey is correct. You cannot
restore a deleted file.
Send the mediaKey in the JSON request body. Do not put it in the
URL.
Note: Some HTTP clients and proxies remove the body from DELETE
requests. Confirm that your client sends the body. Also send the
header Content-Type: application/json. This endpoint has no other
form. A client that removes the body cannot delete the file.
Required scope: delete:sequence:media
| mediaKey required | string non-empty |
{- "mediaKey": "64b0c1d2e3f4a5b6c7d8e9f0/sequence-media/5f1a2b3c4d5e6f708192a3b4/c4e8a1d07b2f49e6a3c81590/photo.jpg"
}{- "error": "mediaKey is required",
- "error_code": "validation_error"
}Returns a signed download URL for each mediaKey that you send.
You can send a maximum of 100 mediaKey values in one request.
Each URL is valid for 5 minutes. If the URL expires before the
download starts, request a new URL. This 5-minute limit is separate
from expiresAt. expiresAt is the time when Temi deletes the
stored file.
Download each file with HTTP GET on signedUrl. Do not send
x-api-key to that URL.
Results
mediaKey. Do not use the position in the array.mediaKey does not exist, the response omits it. This is not
an error.mediaKey more than one time, the response
contains that key only once.The response can contain fewer entries than the request.
Access
If any mediaKey belongs to a robot that the token cannot access,
the endpoint returns 403. The response contains no URLs.
Required scope: read:sequence:media
| mediaKeys required | Array of strings <= 100 items [ items non-empty ] |
{- "mediaKeys": [
- "64b0c1d2e3f4a5b6c7d8e9f0/sequence-media/5f1a2b3c4d5e6f708192a3b4/c4e8a1d07b2f49e6a3c81590/photo.jpg"
]
}{- "urls": [
- {
- "mediaKey": "64b0c1d2e3f4a5b6c7d8e9f0/sequence-media/5f1a2b3c4d5e6f708192a3b4/c4e8a1d07b2f49e6a3c81590/photo.jpg",
}
]
}Use webhooks to receive a notification when an event occurs in your organization. For example, Temi notifies you when the media for an iteration is available.
Register an HTTPS endpoint with POST /webhooks.
The required scope is manage:org:webhooks. Temi then sends events to
that endpoint, for example
sequence.media.ready.
Each event is an HTTP POST request with a JSON body. The Temi
backend server sends this request. The robot does not call your
endpoint.
Endpoint conditions
When you create a webhook, Temi checks the URL text only:
https.Temi does not resolve the host at create time. A private address or a
DNS failure still returns 201.
Temi resolves the host when it delivers an event:
Temi does not follow redirects.
Ownership and event scope
To replace a token, do these steps:
Verify the signature
Temi does not send your API key with webhook events. Verify each
request with the X-Temi-Signature header. The header format is
t=<timestamp>,v1=<signature>.
t and v1 from the header. t is the Unix time in seconds.
v1 is lowercase hexadecimal.{t}.{raw body}. {raw body} is the request body
exactly as you received it. Do not parse the JSON before this step.HMAC-SHA256(key = secret, message = "{t}.{raw body}").
secret is the webhook signing secret, encoded as UTF-8.v1. Use a constant-time comparison.t with the current time. If the difference is more than
5 minutes, reject the request. This check prevents replay attacks.Response
Send a 2xx status code within 10 seconds. Send the status code
before you process the event.
Retries
Temi attempts delivery of each event a maximum of 5 times. Each attempt
has a new t in X-Temi-Signature. t is the time of that attempt.
occurredAt in the body does not change.
Temi tries again when one of these conditions occurs:
408, 429, or 5xx.The waits between attempts are 1 second, 5 seconds, 25 seconds, and 2 minutes.
Temi does not retry after other 4xx status codes. Temi does not retry
after 3xx redirects. After the attempts fail, Temi drops that event.
The webhook stays active. The list does not show the failure. Temi can
send the same eventId again later.
Duplicate events
Each delivery attempt has a new X-Temi-Delivery value. Retries of one
event keep the same eventId. Use eventId to ignore those retries.
A follow-up for the same iteration is a different event. It has
late: true and a different eventId. Do not ignore it because
sequenceRunId and iteration match the first event.
Disable a webhook
If your endpoint returns 410 Gone, Temi disables the webhook
permanently and sets disabledAt. You cannot enable that webhook
again. To receive events again, create a new webhook.
A disabled webhook remains in the list. Temi does not send events to it. You can rotate its secret. Rotation does not enable it.
Temi sends this event when the photos and videos for an iteration are available.
Example
A robot completes iteration 1 of a ward-round sequence. The robot
takes 6 photos and uploads them. When all 6 photos are uploaded,
the Temi backend server sends this event with mediaStatus: ready
and mediaCount: 6.
Your system receives the event and fetches the photos.
To fetch the files, call
GET /sequence-media with
sequence.sequenceRunId and sequence.iteration.
Notes
mediaStatus: empty. There are no files to fetch.late: true and a different eventId. mediaCount in that
event is the new total. Fetch the file list again. Do not ignore
the follow-up because sequenceRunId and iteration are unchanged.pending, partial, or
unconfirmed. Files can already be available in those statuses.
Poll GET /sequence-media
to see them. If the status changes from partial or unconfirmed
to ready, Temi sends the first event at that time.| X-Temi-Event | string Value: "sequence.media.ready" The event type. This value matches |
| X-Temi-Delivery | string <uuid> The identifier of this delivery attempt. It changes on each retry. To detect duplicate events, use |
| X-Temi-Signature | string Example: t=1788761568,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd The signature, in the format |
| User-Agent | string Example: Temi-Webhook/1.0 |
| eventId required | string The identifier of this event. Retries keep this value. A follow-up
for the same iteration has a different value and |
| type required | string Value: "sequence.media.ready" |
| occurredAt required | string <date-time> The time when Temi created the event. The value does not change between retries. The signature timestamp |
| organizationId required | string The organization id. This value matches the organization id from |
| serialNumber required | string = 11 characters ^[0-9]{11}$ The serial number of the robot that recorded the files. |
required | object The sequence, the run, and the iteration that produced the files. |
| mediaStatus required | string Enum: "ready" "empty"
|
| mediaCount required | integer >= 0 The number of uploaded files for this iteration at the time of the event. In a follow-up event, this number includes the files from the first event. |
| capturedCount required | integer >= 0 The number of files that the robot reported for this iteration. |
| plannedMediaCount | integer >= 0 The number of files that the sequence is configured to record. Temi omits this field when it does not know the number. The value is not |
| late required | boolean
Polling responses do not include this field. |
{- "eventId": "wh_media_7f3a9c2e",
- "type": "sequence.media.ready",
- "occurredAt": "2026-09-07T06:12:48.000Z",
- "organizationId": "64b0c1d2e3f4a5b6c7d8e9f0",
- "serialNumber": "00123456789",
- "sequence": {
- "name": "ward-round",
- "sequenceId": "c4e8a1d07b2f49e6a3c81590",
- "sequenceRunId": "run_e4d5c678-9abc-4def-8012-3456789abcde",
- "iteration": 1,
- "totalIterations": 5
}, - "mediaStatus": "ready",
- "mediaCount": 6,
- "capturedCount": 6,
- "plannedMediaCount": 6,
- "late": false
}Registers an HTTPS endpoint that receives webhook events. In
events, send the event types that you want to receive. The endpoint
receives events only for the robots that this token can access.
Supported event types:
| Event type | When Temi sends the event |
|---|---|
sequence.media.ready |
The media for an iteration is ready or empty. |
Temi can add event types later.
The endpoint must meet the conditions in Webhooks.
Limits
Each token can register a maximum of 5 webhooks. Temi does not check that the URL is unique. A second request with the same URL creates a second webhook. Both webhooks receive events.
You cannot change the URL or the event list. Delete the webhook and create a new one.
Temi does not send a test event. The first signed request is a real
sequence.media.ready event.
Caution: Store the signing secret securely. It is shown only
once, in this response. If you lose the secret, create a new one
with POST /webhooks/{webhookId}/rotate-secret.
Required scope: manage:org:webhooks
| url required | string <uri> The HTTPS endpoint that receives the events. Use port 443 or port 8443. |
| events required | Array of strings non-empty unique Items Value: "sequence.media.ready" The event types that the webhook receives. For the supported event types, refer to |
| description | string An optional label for your records. |
{- "events": [
- "sequence.media.ready"
], - "description": "Ward-round media"
}{- "webhookId": "ed71eef4-4c34-46dc-81fe-954e560454fd",
- "events": [
- "sequence.media.ready"
], - "description": "string",
- "secretPrefix": "a1b2c3d4",
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "secret": "4f9c2a7e1b8d44c0a6e5f3210abc9def4f9c2a7e1b8d44c0a6e5f3210abc9def"
}Returns the webhooks that this token created, including disabled webhooks. The list omits webhooks that other tokens created. The list does not contain signing secrets, delivery attempts, or the last error.
Required scope: manage:org:webhooks
{- "webhooks": [
- {
- "webhookId": "ed71eef4-4c34-46dc-81fe-954e560454fd",
- "events": [
- "sequence.media.ready"
], - "description": "string",
- "secretPrefix": "a1b2c3d4",
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z"
}
]
}Returns one webhook that this token created. The response does not contain the signing secret.
To identify the active secret, compare secretPrefix with the first
8 characters of your stored secret.
Required scope: manage:org:webhooks
| webhookId required | string <uuid> The |
{- "webhookId": "ed71eef4-4c34-46dc-81fe-954e560454fd",
- "events": [
- "sequence.media.ready"
], - "description": "string",
- "secretPrefix": "a1b2c3d4",
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z"
}Deletes the webhook. After deletion, Temi does not send events to its URL.
Required scope: manage:org:webhooks
| webhookId required | string <uuid> The |
{- "error": "Missing scopes: manage:org:webhooks",
- "error_code": "missing_scope"
}Creates a new signing secret. After this request succeeds, Temi signs every new event with the new secret. There is no grace period for the old secret.
Caution: Temi signs new events with the new secret immediately. Do the steps below before the next event. If the endpoint still has only the old secret, it rejects valid events.
Do these steps:
t.
Those retries end within 4 minutes.If disabledAt is not null, this request still returns a new secret.
It does not enable the webhook.
Required scope: manage:org:webhooks
| webhookId required | string <uuid> The |
{- "webhookId": "ed71eef4-4c34-46dc-81fe-954e560454fd",
- "events": [
- "sequence.media.ready"
], - "description": "string",
- "secretPrefix": "a1b2c3d4",
- "createdAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "secret": "4f9c2a7e1b8d44c0a6e5f3210abc9def4f9c2a7e1b8d44c0a6e5f3210abc9def"
}