---
title: "Get a referral type"
method: GET
path: "/referraltypes/{id}"
tags: ["Referral Types"]
---

# Get a referral type

`GET /referraltypes/{id}`

## Request

- Base URL: `https://api.smokeball.com`
- URL: `https://api.smokeball.com/referraltypes/{id}`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

Retrieves a specified referral type.

## Path parameters

- `id` string, required

## Response `200`

When request is successful. Returns a 'ReferralType' object.

- ReferralType
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable
  - `self` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `id` string, nullable: Id of the referral type.
  - `name` string, nullable: Name of the referral type.
  - `isDeleted` boolean: Flag indicating whether the referral type has been deleted.

## Other responses

- `404`: When referral type with specified id does not exist.

---

[API](https://skmtc.dev/smokeball/apis/smokeball-api.md) - [All operations](https://skmtc.dev/smokeball/apis/smokeball-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smokeball/apis/smokeball-api/revisions/6e350cf667d4?raw)
