---
updatedAt: 2026-10-19T18:27:45.000Z
agentTools:
  projectIndex: https://docs.skyfire.xyz/llms.txt
---

# Get Organization User by Email

As an Organization Admin, fetch a single user in your organization by their exact email address.

Authenticate with an **Organization Admin User API key**, sent in the `skyfire-api-key` header. Keys belonging to Organization Admins are accepted; a `MEMBER` key, or any Agent API key, is rejected with `401`.

The match is **exact and case-insensitive** — `Ada@Example.com` and `ada@example.com` resolve to the same user; substring matching is not supported on this endpoint (use the `filter` parameter on [Get Organization Users](https://docs.skyfire.xyz/reference/get-organization-users) for substring search). The email is a path segment, so it must be URL-encoded: `ada%40example.com`.

Only users in your own organization can be fetched. The organization is derived from the API key. An email that does not exist and an email that belongs to another organization's user return the same `404`, so the response never reveals whether an address is registered elsewhere.

Inactive users are returned as well (`isActive: false`), so admins can inspect them. The user is returned with the agents they own and, for each agent, its accounts. The response body is identical in shape to [Get Organization User by ID](https://docs.skyfire.xyz/reference/get-organization-user-by-id).

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "skyfire-agent-and-token-apis",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.skyfire.xyz"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "skyfire-api-key",
        "in": "header"
      }
    },
    "schemas": {
      "OrganizationUser": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the organization user."
          },
          "organizationId": {
            "type": "string",
            "description": "Unique identifier of the organization the user belongs to. Always your own organization."
          },
          "email": {
            "type": "string",
            "description": "Email address of the user."
          },
          "isAdmin": {
            "type": "boolean",
            "description": "Whether the user has Organization Admin privileges."
          },
          "orgMemberRole": {
            "type": "string",
            "description": "Role of the user within the organization.",
            "enum": [
              "ADMIN",
              "MEMBER",
              "REPRESENTATIVE"
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether the user is active. Inactive users cannot authenticate, and neither can their agents."
          },
          "agents": {
            "type": "array",
            "description": "Agents owned by the user. Empty if the user owns none.",
            "items": {
              "type": "object",
              "properties": {
                "agentId": {
                  "type": "string",
                  "description": "Unique identifier of the agent."
                },
                "agentType": {
                  "type": "string",
                  "description": "Whether the agent is a buyer or a seller.",
                  "enum": [
                    "BUYER",
                    "SELLER"
                  ]
                },
                "accounts": {
                  "type": "array",
                  "description": "Accounts belonging to the agent.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "accountId": {
                        "type": "string",
                        "description": "Unique identifier of the account."
                      },
                      "network": {
                        "type": "string",
                        "description": "Network the account is held on. e.g. `\"base\"`."
                      },
                      "active": {
                        "type": "boolean",
                        "description": "Whether the account is active."
                      },
                      "suspended": {
                        "type": "boolean",
                        "description": "Whether the account is suspended."
                      },
                      "createdAt": {
                        "type": "string",
                        "description": "When the account was created. e.g. `\"2026-08-14T09:12:33.000Z\"`."
                      }
                    },
                    "required": [
                      "accountId",
                      "network",
                      "active",
                      "suspended",
                      "createdAt"
                    ]
                  }
                }
              },
              "required": [
                "agentId",
                "agentType"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "description": "When the user was created. e.g. `\"2026-08-14T09:12:33.000Z\"`."
          }
        },
        "required": [
          "id",
          "organizationId",
          "email",
          "isAdmin",
          "orgMemberRole",
          "isActive",
          "createdAt"
        ]
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v1/organizations/users/email/{email}": {
      "get": {
        "description": "As an Organization Admin, fetch a single user in your organization by their exact email address.",
        "parameters": [
          {
            "in": "path",
            "name": "email",
            "required": true,
            "schema": {
              "type": "string",
              "format": "email"
            },
            "description": "Email address of the user. Exact match, case-insensitive. Must be URL-encoded. e.g. `ada%40example.com`"
          }
        ],
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationUser"
                },
                "examples": {
                  "Ok": {
                    "summary": "Ok",
                    "value": {
                      "id": "906fc259-ef0a-4736-bdcd-c1d5a78db483",
                      "organizationId": "1f6c2f8e-9a45-4f7b-bd21-3c0e5a9d7412",
                      "email": "ada@example.com",
                      "isAdmin": false,
                      "orgMemberRole": "MEMBER",
                      "isActive": true,
                      "agents": [
                        {
                          "agentId": "5d084831-4a11-4970-bf62-bb6fc0b9f3a2",
                          "agentType": "BUYER",
                          "accounts": [
                            {
                              "accountId": "8b3d1e57-24af-4c69-9f0a-6d5e7b21c834",
                              "network": "base",
                              "active": true,
                              "suspended": false,
                              "createdAt": "2026-08-14T09:12:33.000Z"
                            }
                          ]
                        }
                      ],
                      "createdAt": "2026-08-14T09:12:33.000Z"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "Unauthorized": {
                    "summary": "Unauthorized",
                    "value": {
                      "code": "NOT_AUTHORIZED",
                      "message": "Invalid Organization User API Key"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "Not Found": {
                    "summary": "Not Found",
                    "value": {
                      "code": "NOT_FOUND",
                      "message": "User not found"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "Unprocessable Entity": {
                    "summary": "Unprocessable Entity",
                    "value": {
                      "code": "VALIDATION_ERROR",
                      "message": "Validation Error",
                      "details": {
                        "email": {
                          "message": "Must be a valid email address"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "get_api-v1-organizations-users-email",
        "x-readme": {
          "code-samples": [
            {
              "code": "curl -i -X GET 'https://api.skyfire.xyz/api/v1/organizations/users/email/ada%40example.com' \\\n  -H 'skyfire-api-key: ec0bf984-34f9-4e1e-a06e-984f3dfb089e'",
              "language": "shell",
              "name": "cURL"
            },
            {
              "code": "const email = encodeURIComponent('ada@example.com');\nconst res = await fetch(\n  `https://api.skyfire.xyz/api/v1/organizations/users/email/${email}`,\n  { headers: { 'skyfire-api-key': 'ec0bf984-34f9-4e1e-a06e-984f3dfb089e' } }\n);\nconsole.log(await res.json());",
              "language": "node",
              "name": ""
            },
            {
              "code": "import http.client\nfrom urllib.parse import quote\n\nconn = http.client.HTTPSConnection(\"api.skyfire.xyz\")\nheaders = {'skyfire-api-key': 'ec0bf984-34f9-4e1e-a06e-984f3dfb089e'}\nemail = quote(\"ada@example.com\", safe=\"\")\nconn.request(\"GET\", f\"/api/v1/organizations/users/email/{email}\", None, headers)\nres = conn.getresponse()\nprint(res.read().decode(\"utf-8\"))",
              "language": "python",
              "name": ""
            }
          ],
          "samples-languages": [
            "shell",
            "node",
            "python"
          ]
        },
        "summary": "Get Organization User by Email"
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "skyfire-api-key",
        "value": "<Your Skyfire Agent Account API Key>"
      }
    ],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```