Retrieve the details of a specific organization by their unique slug.
Request
GET
GET /v1/organization/:slug
Path Parameter
- slug
string
Replace
:slug
with the organization's unique slug in the request URL.
Query Parameter
- Maximize
string
The
maximize
parameter allows you to specify which items to maximize in your API response.It is comma separated string values. The following values are allowed:owner
created_by
updated_by
industry
Note: To maximize all the items in the response, you can pass 'all' as the value for the maximize query parameter.
Example usage:
GET /v1/organization/:slug?maximize=owner,industry,all
Response
200
Body
- id
number
Example: 28
- slug
string
Example: organization_d1d6d8323f07a6615f95
- name
string
Example: Anjali kotwani
- website
string
Example: google.com
- location
string
Example: indore
- Address
string
Example: pipariya
- tags
string
Example: [leader,java]
- industry
object
Example:
"id": 1,
"name": "it", - description
string
Example: Experienced software engineer with a focus on frontend development.
- profile_picture
string
Example: img.jpg
- owner
object
Example:
"id": 17" - created_at
string (ISO 8601 date)
Example: 2015-05-15T00:00:00Z
- updated_at
string (ISO 8601 date)
Example: 2015-05-15T00:00:00Z
- created_by
object
Example:
"id": 1 - updated_by
object
Example:
"id": 1 - socials
object
Example:
"linkedin": "anjalilinkedin.com",
"xing": "anjali.com" - custom fields:
object
Example:
"id": 1,
"field_name": "textfeild",
"field_type": "string",
"value": "anjali"
404
Error
- Organization does not found
Response Example
{
"id": 6,
"slug": "organization_931819e6d2e065d355ab",
"name": "TEs contact ",
"website": "",
"location": "",
"address": "",
"tags": null,
"industry": null,
"description": "",
"profile_picture": "",
"owner": {
"id": 1
},
"created_at": "2024-05-24T20:06:58.000Z",
"updated_at": "2024-05-24T20:06:58.000Z",
"created_by": {
"id": 1
},
"updated_by": {
"id": 1
},
"socials": {
"linkedin": "",
"xing": ""
},
"custom_fields": [
{
"id": 1,
"field_name": "C Text asasa",
"field_type": "text",
"value": "Some custom value"
},
{
"id": 2,
"field_name": "C Date",
"field_type": "date",
"value": null
}
]
}