*** id: c2dd8103-d467-4f31-ba50-c5be96589d1e title: send slug: /node/reference/task/client/send description: send method for the Client class. max-toc-depth: 3 ---------------- [task-client]: /docs/server-sdk/v4/node/reference/task/client ### send * `Const` **send**(`params`): `Promise` Send a job to your Task Client in a specific topic. #### Parameters Object containing the parameters of the method. Topic to send the task to. Previously known as `"context"` or `"contexts"`. Can also use `params.topics`. Message to send. SignalWire project id, e.g. `a10d8a9f-2166-4e82-56ff-118bc3a4840f`. SignalWire project token, e.g. `PT9e5660c101...a360079c9`. #### Returns `Promise` #### Example Sending a task with a message to then make an outbound Call. Please note that the call is *not* performed automatically: your [Task.Client][task-client] gives you back your payload, which you should interpret by your own custom logic. ```js import { SignalWire } from "@signalwire/realtime-api"; const client = await SignalWire({ project: "ProjectID Here", token: "Token Here"}) const clientTask = client.task const message = { 'action': 'call', 'from': '+1XXXXXXXXXX', 'to': '+1YYYYYYYYYY' } const taskSend = await clientTask.send({ topic: 'office', message: message }) ```