---
title: "Get One Group"
description: "Get One Group"
keywords: "Get One Group"
url: "https://myrapidi.com/wiki/get_one_group"
locale: "en"
published: "2018-09-18T10:21:15Z"
modified: "2023-04-04T09:50:52Z"
---

Below you see an example on how to list one group. Examples both in JSON and JSONAPI are provided.

NOTE: Remember to substitute the token (after Bearer) and the service id (the "[SERVCICE ID]" below) to your own token and service id.

**Retrieving Group 8 from a service with id [SERVICE ID]**

## JSON:

```
curl 
  -H "Authorization: Bearer [API SECURITY TOKEN]"
  -H "Content-Type: application/json" 
  -H "Accept: application/json"
  -X GET
  https://api.myrapidi.com/api/v2/service/[SERVCICE ID]/groups/8
```

The output for this example would be:

```
{
  "id": "8",
  "code": "CONTACT",
  "description": "Contact Transfers",
  "comments": []
}
```

## JSONAPI:

```
curl 
  -H "Authorization: Bearer [API SECURITY TOKEN]"
  -H "Content-Type: application/vnd.api+json" 
  -H "Accept: application/vnd.api+json"
  -X GET
  https://api.myrapidi.com/api/v2/service/[SERVCICE ID]/groups/8
```

The output for this example would be:

```
{
  "data":{
    "id": "8",
    "type": "groups",
    "attributes": {
      "code": "CONTACT",
      "description": "Contact Transfers"
    },
    "relationships": {
      "comments": {
        "data": []
      }
    }
  }
}
```
