> For the complete documentation index, see [llms.txt](https://docs.0xpass.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0xpass.io/programmability/lambda-functions/execute-lambda/execute-lambda-api.md).

# Execute Lambda API

The executeLambda is a JSON-RPC endpoint that handles is used to execute a given lambda. It takes lambda\_uuid and params as inputs and returns an error or signature.

### Request Spec

**HTTP Method**: POST

* [**Headers**](/appendix/api-request-setup/unauthenticated-requests.md):
  * **N/A**
* **Body**:
  * **id**: String -> Unique Lambda UUID obtained during creaction
  * **params**: Array -> List of arbitrary inputs you want to pass during execution.

### Response Spec

* **result**: String -> Error message or Wallet Signature

### Request Example

```http
POST / HTTP/1.1
Host: tiramisu.0xpass.io
Content-Type: application/json

{
    "jsonrpc": "2.0",
    "method": "executeLambda",
    "params": {
        "data": {
            "id": "15363182-f572-40ee-ba2a-efee4c8a3691",
            "params": []
        }
    },
    "id": 3
}
```

### Response Example

Success:

```json
{
    "jsonrpc": "2.0",
    "result": "0x9d73f5605320e17ab1eaa0e7d1c82df288fddbef1085bbc4d30707128b8dac135ef3207c349c522f407cc6e72740e2ee503c4086ce8d0096f665180e9d8f71ab1b",
    "id": 3
}
```

Error:

```json
{
    "jsonrpc": "2.0",
    "result": "Condition not met",
    "id": 3
}
```
