Description
This API will allow you to return a Group within Hi Marley by Group ID.
| Service Name | Retrieve Group by Group ID |
| Service Type | REST |
| Method | GET |
| UAT (Sandbox) URL |
https://integration.uat.marley.ai/api/groups/:groupId |
| Production URL | https://integration.himarley.io/api/groups/:groupId |
| Technical Documentation | View technical documentation with sample request and response payloads hosted on Postman. |
Table of Contents
API Request
Flow
- Send API request.
- Hi Marley responds with the group object data for the Group defined in the request.
Request Example
https://integration.uat.marley.ai/api/groups/05bec2c8-b243-4e88-bd20-80bebf66f5fa
Request Path Breakdown
| Property | Description | Type | Required | Example |
| groupId |
The identifier generated and assigned to the Group. |
string |
true |
"id": "05bec2c8-b243-4e88-bd20-80bebf66f5fa"
|
API Response
Response Payload Example
{
"id": "05bec2c8-b243-4e88-bd20-80bebf66f5fa",
"members": [
{
"id": "5bea662f-2026-4bfa-be39-57a9ae6b083f",
"email": "james.bond@himarley.com"
}
],
"leads": [
{
"id": "709d0e28-36b0-46ae-8bb8-3c6a8251ba3d",
"email": "Ian.Flemming@himarley.com"
}
],
"name": “Group A”
}
Response Fields Breakdown
| Property | Element | Description | Type | Required | Example |
| id |
The identifier generated and assigned to the Group. |
string |
true |
"id": "05bec2c8-b243-4e88-bd20-80bebf66f5fa"
|
|
|
members Array |
id |
The Hi Marley user ID. |
string |
true |
"id": "5bea662f-2026-4bfa-be39-57a9ae6b083f"
|
|
The Hi Marley user email. |
string |
true |
"email": "james.bond@himarley.com"
|
||
|
leads Array |
id |
The Hi Marley user ID. |
string |
true |
"id": "709d0e28-36b0-46ae-8bb8-3c6a8251ba3d"
|
|
The Hi Marley user ID. |
string |
true |
"email": "Ian.Flemming@himarley.com"
|
||
|
subgroups Array |
id |
The ID of the Group nested under the Group defined in the path parameter. |
string |
false |
"id": "83c4adef-26c5-4fb7-9686-353e087a667a"
|
| name |
The name of the Group nested under the Group defined in the path parameter. |
string |
false |
"name": "Group F"
|
|
| name |
The group name. |
string |
false |
"name": "Group A"
|
Comments
0 comments
Please sign in to leave a comment.