---
title: "B052 Organization ID search"
method: POST
path: "/synapse/organization/autocomplete"
tags: ["Biopharmaceutical Dictionary Data"]
---

# B052 Organization ID search

`POST /synapse/organization/autocomplete`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/synapse/organization/autocomplete`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/docs/synapse/organization/autocomplete/post.ts> (a function with typed inputs; its response is checked against the schema)

Input the organization name and get the organization ID

## Request body

- B052OrganizationAutocompleteRequest
  - `limit` integer, required: limit
  - `prefix` string, required: keywords

## Response `200`

Successful b052 organization id search response.

- B052OrganizationAutocompleteResponse
  - `data` B052OrganizationAutocompleteOrganizationAutocompleteResponseDto[]: response data
    - `display_name` B052OrganizationAutocompleteCommonName[]: Name
      - `lang` string: Language
      - `name` string: Drug,Target,Organization,Disease,Country/Location,DICT,Mechanism Action Name
    - `organization_id` string: ID
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

## Other responses

- `201`: Created.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
