Skip to main content

getFullCommsURL()

function getFullCommsURL(params: CommsURLParams, baseUrl: string): string;

Builds a full Comms URL (with protocol and hostname) based on the provided parameters

Parameters

ParameterTypeDefault valueDescription
paramsCommsURLParamsundefinedURL parameters including workspace, channel, conversation, thread, etc.
baseUrlstringCOMMS_BASE_URLOptional base URL (defaults to 'https://comms.todoist.com')

Returns

string