---
title: "Get organization by slug"
method: GET
path: "/api/v1/organizations/slug/{slug}"
tags: ["Organizations"]
---

# Get organization by slug

`GET /api/v1/organizations/slug/{slug}`

## Request

- Base URL: `https://app.easyscraper.com`
- URL: `https://app.easyscraper.com/api/v1/organizations/slug/{slug}`
- Auth: API key in cookie `better-auth.session_token`

Get an organization the current user is a member of, with the user's role in it. `TWO_FACTOR_REQUIRED` when the organization requires two-factor authentication and the session has neither it nor the organization's single sign-on

## Path parameters

- `slug` string, required

## Response `200`

OK

- object
  - `id` string, uuid, required
  - `name` string, required
  - `slug` string, required
  - `logo` string, nullable, required
  - `metadata` string, nullable, required
  - `requireTwoFactor` boolean, required
  - `allowedEmailDomains` string[], required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `role` string, required

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `429`: 429

## Changes

- **2026-11-02** `a12cef98c52b`: 1 info
  - added the non-success response with the status `400`
- **2026-10-31** `3e642e95991a`: 4 info
  - added the non-success response with the status `403`
  - added the non-success response with the status `429`
  - added the required property `allowedEmailDomains` to the response with the `200` status
  - added the required property `requireTwoFactor` to the response with the `200` status
- **2026-10-09** `db32553c29a6`: 1 breaking, 1 info
  - removed the required property `billingCustomerId` from the response with the `200` status
  - added the required property `role` to the response with the `200` status
- **2026-10-08** `690ffb43a08d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/easyscraper/apis/easy-scraper-api/changes/api/v1/organizations/slug/:slug/get.md)

---

[API](https://skmtc.dev/easyscraper/apis/easy-scraper-api.md) - [All operations](https://skmtc.dev/easyscraper/apis/easy-scraper-api/llms.txt) - [OpenAPI document](https://skmtc.dev/easyscraper/apis/easy-scraper-api/revisions/a12cef98c52b?raw)
