Skip to content

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

Open
@i-am-rad

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

ad-publishing

🧠 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions