Back to API Overview
App Connections API
Manage connected app accounts and third-party integrations.
3 endpoints
Endpoints
POST
/api/v1/appAccount/createConnect a new app account. Params: mcpServerId (required, from mcpServer.list), connectionName (required), credentials (object with API keys/tokens).
Parameters
mcpServerId | stringrequired | |
connectionName | stringrequired | |
credentials | objectrequired |
Example Request
curl -X POST https://app.serenitiesai.com/api/v1/appAccount/create \
-H "Authorization: Bearer mk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"mcpServerId": "example",
"connectionName": "example",
"credentials": {}
}'POST
/api/v1/appAccount/listList connected app accounts (OAuth integrations). Optional param "mcpServerId" to filter. Returns accounts with connection status.
Parameters
mcpServerId | string |
Example Request
curl -X POST https://app.serenitiesai.com/api/v1/appAccount/list \
-H "Authorization: Bearer mk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"mcpServerId": "example"
}'POST
/api/v1/appAccount/deleteDisconnect an app account. Param "appAccountId".
Parameters
appAccountId | stringrequired |
Example Request
curl -X POST https://app.serenitiesai.com/api/v1/appAccount/delete \
-H "Authorization: Bearer mk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"appAccountId": "example"
}'