Basic Information

appmixer.toggl.core.MakeApiCall

Make API Call

1.0.0

Public

Perform an arbitrary authorized call to the Toggl API. Provide a path relative to https://focus.toggl.com/api (or a full URL on focus.toggl.com), method, headers, query parameters and body. The Authorization header is added automatically.

Input Ports

in

FieldTypeDescription
API Endpoint Path text A path relative to https://focus.toggl.com/api, for example /users/me/settings or /organizations/{organization_id}/workspaces/{workspace_id}/tasks. Type {organization_id} and {workspace_id} as they are: they are replaced with the organization and workspace of the connected account. A full URL is accepted only when it points at https://focus.toggl.com; any other host is rejected so your API token is never sent elsewhere.
HTTP Method select The HTTP method for the API call.
Query Parameters key-value Optional query parameters, for example active.
Request Body textarea Optional JSON request body.
Request Headers key-value Optional additional headers. The Authorization header is set automatically.

Output Ports

out

FieldTypeDescription
Status Code integer -
Response Headers object -
Response Body object -

Full Metadata