API reference · Routines

Resume a routine

POST/api/v1/routines/{routine}/resume

Starts a paused routine again. The answer says when it runs next. Needs an API key. Terminal and routines open with RoBot: on an account RoBot isn’t open on yet, the answer is permission_denied.

This endpoint needs an API key. See Authentication.

Parameters

routinestringRequiredPath
The routine’s ID (12 characters), from Create a routine or List your routines.

Example

curl -X POST https://roterminal.co/api/v1/routines/a1b2c3d4e5f6/resume \
  -H "Authorization: Bearer $ROTERMINAL_API_KEY"

Response

Every response is { data, link, as_of }. The fields of data are below.

Fields

The fields in data. A field with nothing to say is left out.

idstring
Its ID (12 characters).
namestring
Its name.
kindstring
schedule or trigger.
whenstring
When it runs, in words.
onboolean
False while it’s paused.
nextstring
When it runs next (New York time), in words.
delivers_tolist of strings
Where its note goes: bell, discord, email.
runsinteger
How many times it has run.
last_runstring or null
When it last ran, or null.
questionstring
What RoBot is asked on each run.
notestring
What was done, in a sentence.