Logo
Search
Docs

Manage credentials

GET https://app.sulus.ai/api/tools/credentials/manage

Full list of the caller's personal credentials, for the credential manager

Authentication

Send a bearer token created on your dashboard's Developer page:

Authorization: Bearer <YOUR_API_KEY>

Errors

StatusMeaningBody
401 No authenticated user {"success":false,"message":"Unauthenticated."}
403 Feature tools not enabled for the account

Notes

  • Includes every status (active and inactive). On any failure this endpoint degrades to an empty list rather than an error.
curl --request GET \
  --url https://app.sulus.ai/api/tools/credentials/manage \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
import requests

url = "https://app.sulus.ai/api/tools/credentials/manage"
headers = {"Authorization": "Bearer <YOUR_API_KEY>"}

response = requests.get(url, headers=headers)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	url := "https://app.sulus.ai/api/tools/credentials/manage"
	req, _ := http.NewRequest("GET", url, nil)
	req.Header.Add("Authorization", "Bearer <YOUR_API_KEY>")
	res, _ := http.DefaultClient.Do(req)
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(string(body))
}
Response 200
{
    "success": true,
    "data": [
        {
            "id": "3f9c2a10-6b4e-4a2d-9f0a-1c2d3e4f5a6b",
            "provider": "custom-credential",
            "name": "Orders API",
            "auth_type": "bearer",
            "encryption_enabled": false,
            "status": "active"
        },
        {
            "id": "7c1d2e3f-4a5b-4c6d-8e9f-0a1b2c3d4e5f",
            "provider": "webhook",
            "name": "Loyalty Service",
            "auth_type": "hmac",
            "encryption_enabled": true,
            "status": "inactive"
        }
    ]
}