Fetch Members
Retrieve all active members in your organization
Returns a list of all active members in the specified organization. Each member includes their UUID and full name. Use this to validate member_id values or populate member selection interfaces.
Requires a valid `api_key` in the JSON request body
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
api_key |
body | string |
Yes | Your Zyntro API key |
org_id |
body | string |
Yes | Your organization UUID |
brand_id |
body | string |
Yes | Your brand ID |
Request Body
Content-Type: application/json
Example
json
{
"org_id": "YOUR_ORG_ID",
"api_key": "YOUR_API_KEY",
"brand_id": "1"
}
Code Samples
bash
curl -X POST https://app.zyntrohq.com/public/account/fetchMembers \
-H "Content-Type: application/json" \
-d '{"api_key": "YOUR_API_KEY", "org_id": "YOUR_ORG_ID", "brand_id": "1"}'
Response
200
Members retrieved
json
{
"data": [
{
"member_id": "f2470c7f-60b1-4491-b117-8ba0e3e2a53b",
"member_name": "Jane Smith"
},
{
"member_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"member_name": "John Doe"
}
],
"status": "success"
}
200
Error
json
{
"data": [
"Missing org ID"
],
"status": "error"
}
Tip:
Use this endpoint to validate `member_id` values before calling other APIs that require them (e.g., Add or Update Contact, Add Notes, Submit Form). Many API errors are caused by invalid member IDs.
Errors
| Code | Message | Resolution |
|---|---|---|
MISSING_API_KEY |
Missing service instance The api_key is missing. |
Include your API key. |
INVALID_API_KEY |
Invalid API Key No active user matches. |
Verify your key. |
MISSING_BRAND |
Missing brand ID The brand_id is missing. |
Include your brand ID. |
MISSING_ORG |
Missing org ID The org_id is missing. |
Include your org ID. |