---
title: "Execute provider function"
method: POST
path: "/provider/{provider}/{function}"
tags: ["providers"]
---

# Execute provider function

`POST /provider/{provider}/{function}`

Execute a specific function on a provider. Requires server mode and authentication. Supported functions: authorizesession (authorize user session), listidentities (list provider identities with optional search parameters)

## Path parameters

- `provider` string, required
- `function` string, required

## Request body

- object

## Response `200`

Function response

- object

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Provider not found
- `500` — Internal server error

---

[API](https://skmtc.net/thand-io/apis/thand-agent-api.md) · [All operations](https://skmtc.net/thand-io/apis/thand-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thand-io/thand-agent-api/versions/62befb178368/schema)
