Tessera docs

Launch Tessera

Launch

Functions

Invoke function

Run a deployed function and return its result.

POST

/v1/functions/{name}/invoke

Runs the function synchronously. Set async: true to queue it and get a run ID back immediately.

Authorizations

Authorizationstringrequired

Bearer token. Use a server key or a user access token: Bearer <token>.

Path parameters

namestringrequired

The function name, for example welcome-email.

Request body

inputobjectoptional

Passed to the function as input.

asyncbooleanoptional

Queue the run instead of waiting for it.

Response fields

run_idstringrequired

ID of the run.

outputanyoptional

The function's return value, when not async.

duration_msintegeroptional

Execution time.

Errors

401unauthorized

The token is missing, expired or revoked.

404not_found

No function exists with this ID in the environment.

504function_timeout

The function ran longer than its timeout.

curl --request POST \  --url https://api.tessera.dev/v1/functions/welcome-email/invoke \  --header "Authorization: Bearer $TESSERA_KEY" \  --header "Content-Type: application/json" \  --data '{"input":{"userId":"usr_42"}}'
{  "run_id": "run_5kq9",  "output": {    "sent": true  },  "duration_ms": 214}

© 2026 Tessera, Inc.

Support

Status

Create a free website with Framer, the website builder loved by startups, designers and agencies.