Playground/Resources/Organization

organizations

business

General organizational entity that can represent companies, non-profits, institutions, or any structured group. Contains organizational details, contact information, size metrics, and founding information.

Request Builder

https://api.mockly.codes/organizations?page=1&limit=10&count=10

Configure your request and click Send Request to see the response here.

Endpoints

GET/organizations

Get a collection of organizations

Alternative: /business/organizations
GET/organizations/:id

Get a single organization by ID

Alternative: /business/organizations/:id
GET/organizations/meta

Get resource metadata and schema

Alternative: /business/organizations/meta

How to Use Search

The search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.

1. Basic Search

Search across all text fields:

Basic Search
GET https://api.mockly.codes/organizations?q=laptop

2. Search Specific Fields

Field-Specific Search
GET https://api.mockly.codes/organizations?q=laptop&search_fields=name,description

Pro Tips

  • Search is case-insensitive and performs partial matching
  • Without search_fields, all text fields are searched
  • Combine with pagination to handle large result sets efficiently

Code Examples

curl "https://api.mockly.codes/organizations?page=1&limit=10&count=10"

Examples reflect your current request builder settings.

Schema Properties

idinteger

Unique identifier for the organization record

Gen:random_int
namestring

Official legal name of the organization

Gen:company
typestring

Type of organization (e.g., corporation, non-profit, government, educational institution, startup)

Gen:organization_type
descriptionstring

Comprehensive description of the organization's mission, activities, and purpose

Gen:paragraph
websitestring

Official website URL of the organization

Gen:urluri
emailstring

Primary contact email address for the organization

Gen:emailemail
phonestring

Main contact phone number for the organization

Gen:phone
addressstring

Street address of the organization's primary location

Gen:address
citystring

City where the organization is headquartered

Gen:city
countrystring

Country where the organization is based or primarily operates

Gen:country
employeesinteger

Total number of employees or members in the organization

Gen:employees
foundedinteger

Year when the organization was established or founded

Gen:founded_year
logostring

URL to the organization's official logo image

Gen:image_urluri

Query Parameters

countinteger

Number of items to return (default: 10, max: 100)

seedinteger

Seed for reproducible data generation

nocacheboolean

Bypass cache and generate fresh data on every request