Skip to content

[Bug Report: API Field Missing] Incorrect SSO Decrypted Object for Agency Owner Data #41

Description

@i-am-rad

🐛 Describe the Bug

My decrypted SSO object shows agency admin when it should show agency owner role. Tested this on my agency account. If this is intentional then update your documentation. Ideally this is fixed so that app devs know who is actually the owner of the GHL account and if they are the one on the page.

📍 API Endpoint

https://marketplace.gohighlevel.com/docs/other/user-context-marketplace-apps

✅ Expected Behavior

Returns agency owner role properly.

💻 Screenshots or Code Samples

{
    "userId": "y9s4rxvvz0R0nUgGXGi4",
    "companyId": "",
    "role": "admin",
    "type": "agency",
    "activeLocation": "",
    "userName": "Jacob Radcliffe",
    "email": "jacob@"
}

should be

{
    "userId": "y9s4rxvvz0R0nUgGXGi4",
    "companyId": "",
    "role": "owner",
    "type": "agency",
    "activeLocation": "",
    "userName": "Jacob Radcliffe",
    "email": "jacob@"
}

Product Area

marketplace

🧠 Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-missing-api-fieldSomething isn't working in the Highlevel API or fields are missing in the API Endpoints.marketplaceprocessed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions