# createSigningMethod

### Description

This endpoint allows you to create a signing method for a user, whether it's their first or an additional one. The first signing method must always be a six-digit `PIN`, and does not require the `Signing-Method` to be passed in the header. For creating subsequent signing methods like `BIOMETRIC`/`EMERGENCY_CODE`/`PASSWORD`, include an existing valid `Signing-Method` in the request header.

{% code overflow="wrap" %}

```javascript
public createSigningMethod(userId: string, reqParams: VyCreateSigningMethodRequestBase, signingMethod: VyUserAuth) : VyPromise<VySigningMethodDto[]>
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| userId        | string                                                                                                                                    | This is the \`UUID\` of user whose \*\*signing method\*\* you want to create. |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| reqParams     | [VyCreateSigningMethodRequestBase](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/wallet/vycreatesigningmethodrequestbase) | Request data for the operation                                                |
| signingMethod | VyUserAuth                                                                                                                                | This operation requires a valid Signing-Method from the corresponding user    |

**Returns**

VyPromise<[VySigningMethodDto](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/wallet/vysigningmethoddto)\[]>\
Signing method is created for user.
{% endtab %}
{% endtabs %}
