/ Platform API
Platform API
    Chat Platform API v3
    Chat Platform API
    Chat Platform API
    Version 3

    Get a member

    Copy link

    Retrieves information about a specific member of an organization.


    HTTP request

    Copy link
    GET https://gate.sendbird.com/api/v2/organization_members/{member_id}
    

    Parameters

    Copy link

    The following table lists the parameters that this action supports.

    Required
    Parameter nameTypeDescription

    member_id

    int

    The unique ID of an organization member.


    Response

    Copy link

    If successful, this action returns a member resource in the response body.

    {
      "id": 14274,
      "role": "ADMIN",
      "created_at": "2020-12-10T06:12:52Z",
      "status": "ACTIVE",
      "user": {
        "id": 30003989,
        "email": "sample@sample.com",
        "date_joined": "2020-12-10T06:12:52Z",
        "is_active": true,
        "profile": {
          "id": 14388,
          "nickname": "sample_nickname"
        },
        "first_name": "Sample",
        "last_name": "Jack"
      },
      "organization": 13731,
      "organization_member_role": {
        "name": "ADMIN",
        "is_predefined": true
      }
    }
    

    In the case of an error, an error object is returned. A detailed list of error codes is available here.