Description Usage Arguments Value Examples
With this endpoint you can create a new Activity. It should have name and color.
Name doesn’t have to be unique. You can also provide Integration to which Activity
will belong (zei by default, which means no special Integration). You can obtain
list of enabled Integrations with the function integrations
.
1 2 | createActivity(name = "being awesome", color = "#a1b2c3",
integration = "zei", token, as_df = TRUE)
|
name |
Name of the new activity. |
color |
Color of the new activity. |
integration |
Name of the integration it should integrate with. |
token |
Token obtained with |
as_df |
If TRUE a data frame is returned, if FALSE a list is returned. |
A data frame or list with id, name, color, integration and deviceSide (NULL
).
1 2 | token <- "123456789"
createActivity(name = "being awesome", color = "#a1b2c3", integration = "zei", token, as_df = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.