> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: ExternalCalls

> Reference for the ExternalCalls interface in bijection/server.

[server](/api/modules/server).ExternalCalls

## Methods

### submit

▸ **submit**\<`C`>(`command`, `options`): `Promise`\<[`ExternalCallId`](/api/modules/server#externalcallid)>

#### Type parameters

| Name | Type |
| :- | :- |
| `C` | extends [`CommandHandle`](/api/modules/server#commandhandle)\<`any`> |

#### Parameters

| Name | Type |
| :- | :- |
| `command` | `C` |
| `options` | `Object` |
| `options.target` | [`CommandTarget`](/api/modules/server#commandtarget) |
| `options.args` | [`CommandArgs`](/api/modules/server#commandargs)\<`C`> |
| `options.approval?` | [`ApprovalId`](/api/modules/server#approvalid) |

#### Returns

`Promise`\<[`ExternalCallId`](/api/modules/server#externalcallid)>
