---
title: "Get an organization"
method: GET
path: "/rest/organizations/{organization_id}"
tags: ["Organizations"]
---

# Get an organization

`GET /rest/organizations/{organization_id}`

## Request

- Base URL: `https://api.dailypay.com`
- URL: `https://api.dailypay.com/rest/organizations/{organization_id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://auth.dailypay.com/oauth2/token` scopes: `client:admin`
- TypeScript: <https://skmtc.dev/dailypay/apis/dailypay-rest-api/docs/rest/organizations/:organization_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Lookup organization by ID for a detailed view of single organization.

## Response `200`

Returns details about an organization.

- OrganizationData
  - `data` OrganizationResource, required
    - `type` 'organizations', required
    - `id` string, uuid, required: String identifier that is unique to this organization. You can safely assume the identifier to never exceed 64 characters.
    - `attributes` OrganizationAttributes, required
      - `name` string: Organization's name
      - `products` string[]: List of the names of products available for this organization.
    - `links` OrganizationLinks, required
      - `self` string, uri, required

## Other responses

- `400`: Bad Request
- `401`: Invalid authentication credentials
- `403`: Not authorized to perform this operation
- `404`: Resource was not found
- `500`: Unexpected error occured

---

[API](https://skmtc.dev/dailypay/apis/dailypay-rest-api.md) - [All operations](https://skmtc.dev/dailypay/apis/dailypay-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dailypay/apis/dailypay-rest-api/revisions/24f4c159e842?raw)
