Logo
Search
Docs

Partner end user status

GET https://app.sulus.ai/api/partner-end-user/status

Get compact connection status for the current user

Authentication

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

Authorization: Bearer <YOUR_API_KEY>

Errors

StatusMeaningBody
401 Missing or invalid bearer token {"success":false,"message":"Unauthenticated"}
400 No reseller context on the request {"success":false,"message":"No reseller context found"}
403 Feature ghl_connect not enabled for the account {"message":"This feature is not enabled for your account. Please contact your administrator.","feature":"ghl_connect"}

Notes

  • Picks the most recently updated user_ghl_connects row for (reseller_id, user_id). If none or !isConnected(), returns connected:false with null ids.
  • Does not include location_name or is_default (those are on the connections list projection).
curl --request GET \
  --url https://app.sulus.ai/api/partner-end-user/status \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
import requests

url = "https://app.sulus.ai/api/partner-end-user/status"
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/partner-end-user/status"
	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": {
        "connected": true,
        "ghl_location_id": "loc_abc123XYZ",
        "ghl_company_id": "comp_def456",
        "token_expires_at": "2026-08-30T14:00:00.000000Z"
    }
}