Skip to content
Maua.Culturewire

Apilio

Home automation: variables, conditions and logicblocks

AutomationCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Client ID (API username)Required
    • Client secret (API password)SecretRequired

    Where to find them

    1. Access to the Apilio REST API is enabled with a paid plan (on the free trial you must upgrade the account).
    2. In your Apilio account, open the API section and generate the credentials (Client ID and Secret).
    3. Copy them: they are sent as username and password (basic authentication). Writes (PUT) wrap the object in a key named after it, e.g. {"boolean_variable": {"value": true}}.

Tools (1)

  • Apilio API requestAPILIO_SEND_REQUEST

    Authenticated call to the Apilio API (https://api.apilio.com/api/v1). Any endpoint of the API is allowed. Examples: GET /boolean_variables, GET /numeric_variables, GET /string_variables/{uuid}, PUT /boolean_variables/{uuid} {"boolean_variable": {"value": true}}, GET /conditions, GET /logicblocks, POST /logicblocks/{uuid}/evaluate.

    Required scopes

    No scopes required

    Input

    Apilio API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.