@grabjs/superapp-sdk
    Preparing search index...

    Type Alias HasAccessToResponse

    HasAccessToResponse:
        | { error: string; status_code: 400 }
        | { error: string; status_code: 500 }
        | { error: string; status_code: 501 }
        | { result: boolean; status_code: 200 }
        | { error: string; status_code: 424 }

    Response when checking API access permissions.

    This response can have the following status codes:

    • 200: Access check completed successfully. The result contains the access status.
    • 400: Missing required parameters - module or method not provided.
    • 424: ScopeKit error - unable to check access due to a dependency error.
    • 500: Internal server error - an unexpected error occurred on the native side.
    • 501: Not implemented - this method requires the Grab app environment.