Skip to main content
Returns all team members belonging to your business, including their current availability status and role. Method: GET URL: /api/v1/team/members

Headers

HeaderValue
AuthorizationBearer

Response

The endpoint returns an array of team member objects.
id
string
required
UUID of the team membership record.
user_id
string
required
UUID of the user account associated with this team member.
email
string
required
Email address of the team member.
name
string
required
Full name of the team member.
role
string
required
The member’s role. One of: owner, admin, agent.
status
string
required
Current availability status. One of: live, away, offline.
is_active
boolean
required
Whether the team member account is currently active.
invited_at
string
required
ISO 8601 timestamp of when the member was invited.

Example

curl --request GET \
  --url https://api.pingback.live/api/v1/team/members \
  --header 'Authorization: Bearer {token}'

Response example

[
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "user_id": "f0e1d2c3-b4a5-9687-fedc-ba9876543210",
    "email": "sarah@acme.com",
    "name": "Sarah Chen",
    "role": "admin",
    "status": "live",
    "is_active": true,
    "invited_at": "2024-01-10T09:00:00Z"
  },
  {
    "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "user_id": "01234567-89ab-cdef-0123-456789abcdef",
    "email": "james@acme.com",
    "name": "James Rivera",
    "role": "agent",
    "status": "away",
    "is_active": true,
    "invited_at": "2024-01-15T11:30:00Z"
  }
]

Remove a member

Method: DELETE URL: /api/v1/team/members/{member_id} Permanently removes a team member from your organization. Only the org owner can perform this action. You cannot remove the owner.
This action is irreversible. The removed member will immediately lose access to the PingBack dashboard for your organization.

Path parameters

member_id
string
required
The UUID of the team membership record to remove. Use the id field from the List Members response, not the user_id.

Example

curl --request DELETE \
  --url https://api.pingback.live/api/v1/team/members/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  --header 'Authorization: Bearer {token}'

Response example

{ "message": "Team member removed" }

Errors

StatusMeaning
400Cannot remove the org owner
401Unauthorized — missing or invalid token
403Forbidden — only the org owner can remove members
404Team member not found