---
updatedAt: 2025-10-07T09:08:13.000Z
agentTools:
  projectIndex: https://developers.zluri.com/llms.txt
---

# Get User Associations

This endpoint returns all associations for a specific user, including applications and contracts where the user is an owner, IT owner, finance owner, negotiation owner, reporting manager, or vendor owner.

**Request Body Table:**

| Field        | Required | Type   | Description                |
|--------------|----------|--------|----------------------------|
| `user_email` | Yes      | string | The email of the user to retrieve associations for. |


# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Zluri External APIs v1",
    "version": "1.0.0",
    "description": "# Zluri SaaS Management Platform API Documentation\n\n## Overview\n\nThe Zluri External API provides programmatic access to Zluri's SaaS management platform, enabling organizations to integrate their applications, automate workflows, and manage their software ecosystem efficiently.\n\n## Authentication\n\nAll API requests require authentication using API Keys. These keys are scoped to specific workspaces and may have limited permissions that restrict access to certain endpoints.\n\n### How to Authenticate\n- Include your API key in the `api-key` header of all requests\n- Obtain your API key from the Zluri Console\n- Keep your API key secure and never expose it in client-side code\n\n## Base URL\n\nAll API requests must be made to:\n```\nhttps://api-ext.zluri.com\n```\n\n**Important**: Only HTTPS is supported. HTTP requests will be rejected.\n\n## Rate Limiting\n\nAPI requests are subject to rate limiting to ensure platform stability. If you exceed the rate limit, you'll receive a 429 response with a `Retry-After` header indicating when you can retry.\n\n## Versioning\n\nThis documentation covers API v1. The API version is included in the URL path (e.g., `/ext/v1/...`).",
    "contact": {
      "name": "Zluri Support",
      "url": "https://support.zluri.com",
      "email": "support@zluri.com"
    }
  },
  "servers": [
    {
      "url": "https://api-ext.zluri.com",
      "description": "Zluri Production API Server"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "api-key",
        "description": "API key for authenticating requests. Obtain from Zluri Console."
      }
    }
  },
  "paths": {
    "/v2/users/associations": {
      "post": {
        "tags": [
          "Users"
        ],
        "summary": "Get User Associations",
        "description": "This endpoint returns all associations for a specific user, including applications and contracts where the user is an owner, IT owner, finance owner, negotiation owner, reporting manager, or vendor owner.\n\n**Request Body Table:**\n\n| Field        | Required | Type   | Description                |\n|--------------|----------|--------|----------------------------|\n| `user_email` | Yes      | string | The email of the user to retrieve associations for. |\n",
        "operationId": "getuserassociation",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "parameters": [
          {
            "name": "api-key",
            "in": "header",
            "required": true,
            "description": "Your Zluri API key for authentication",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user_email": {
                    "type": "string"
                  }
                },
                "required": [
                  "user_email"
                ]
              },
              "example": {
                "user_email": "theresawyatt@zluri.dev"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful user associations response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "applications_owner": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string",
                                "nullable": true
                              },
                              "_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "_id"
                            ]
                          }
                        },
                        "apps_it_owner": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string",
                                "nullable": true
                              },
                              "_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "_id"
                            ]
                          }
                        },
                        "apps_finance_owner": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "logo": {
                                "type": "string",
                                "nullable": true
                              },
                              "_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "_id"
                            ]
                          }
                        },
                        "contracts_owner": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "_id"
                            ]
                          }
                        },
                        "contracts_finance_owner": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "_id"
                            ]
                          }
                        },
                        "contracts_it_owner": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "_id"
                            ]
                          }
                        },
                        "contracts_negotiation_owner": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "_id"
                            ]
                          }
                        },
                        "departments_owner": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "_id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "_id"
                            ]
                          }
                        },
                        "reporting_manager": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "_id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "_id",
                              "name"
                            ]
                          }
                        },
                        "vendor_owners": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "_id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "_id",
                              "name"
                            ]
                          }
                        }
                      }
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "total": {
                          "type": "object",
                          "properties": {
                            "applications_owner": {
                              "type": "integer"
                            },
                            "apps_it_owner": {
                              "type": "integer"
                            },
                            "apps_finance_owner": {
                              "type": "integer"
                            },
                            "contracts_owner": {
                              "type": "integer"
                            },
                            "contracts_finance_owner": {
                              "type": "integer"
                            },
                            "contracts_it_owner": {
                              "type": "integer"
                            },
                            "contracts_negotiation_owner": {
                              "type": "integer"
                            },
                            "departments_owner": {
                              "type": "integer"
                            },
                            "reporting_manager": {
                              "type": "integer"
                            },
                            "vendor_owners": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "applications_owner",
                            "apps_it_owner",
                            "apps_finance_owner",
                            "contracts_owner",
                            "contracts_finance_owner",
                            "contracts_it_owner",
                            "contracts_negotiation_owner",
                            "departments_owner",
                            "reporting_manager",
                            "vendor_owners"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request - Invalid input data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "VALIDATION_ERROR"
                    },
                    "error": {
                      "type": "string",
                      "example": "Invalid user email provided"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized - Invalid or missing API key",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "UNAUTHORIZED"
                    },
                    "error": {
                      "type": "string",
                      "example": "Invalid API key"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "User not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "NOT_FOUND"
                    },
                    "error": {
                      "type": "string",
                      "example": "User with the specified email not found"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "An internal server error occurred"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Users"
    }
  ],
  "x-tagGroups": {
    "name": "Integration SDK",
    "tags": [
      "Version 1",
      "Version 2"
    ]
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": false
  }
}
````