Workplace from Meta is going away. You will be able to continue using Workplace until 31 August 2025. Visit our Help Center to find out more.
/{member-id}
Represents a user object as a member of a Workplace community or group.
/community/members
Returns list of all current user accounts. Requires Manage work profiles permission.
external_id
To filter users based on external ID, use the external_ids
parameter and pass a comma separated list of external IDs of the desired users.
/community/organization_members
Returns list of users. Requires Read group membership permission. By default, active user accounts will be listed. Deactivated user accounts can be shown instead by using the inactive=1
URL parameter.
Returns a single User object representing a Workplace user. Can be accessed via the member's Workplace ID or the email address used by the member when logging into Workplace.
/{member_id}
/{email_address}
Reading information about a member requires either Read work profile or Manage accounts permission. If an Integration is using Manage accounts permission and is scoped to specific groups it will not be able to access some Member fields.
Field Name | Description | Type |
---|---|---|
| The id of this person's user account. |
|
| The person's first name. |
|
| The person's last name. |
|
| The person's primary email address, also used as their username on Workplace. |
|
| The person's title on Workplace, if set via the Account Management API. |
|
| The person's organization on Workplace, if set via the Account Management API. |
|
| The person's division on Workplace, if set via the Account Management API. |
|
| The person's department name on Workplace, if set via the Account Management API. |
|
| The person's primary listed phone number. Maps to the |
|
| The person's primary listed address. Maps to the |
|
| The person's profile picture. |
|
| A link to the person's profile. |
|
| The person's locale. |
|
| The person's full name. |
|
| The person's name formatted to correctly handle Chinese, Japanese, or Korean ordering. |
|
| Updated time. |
|
| Account invite time in UTC format. |
|
| Account claim time in UTC format. |
|
| Account deactivate time in UTC format |
|
| An identifier for the member as defined by the customer. Each member MAY include a non-empty external_id value set using the Account Management API. The value of the external_id attribute will never be specified by Workplace. |
|
| The date and time which the person joined the company, if set via the Account Management API. |
|
| The person's bio. |
|
| Identifies the name of a cost center. |
|
| A member access token which allows an integration to make calls on behalf of a specific person. Impersonate is a deprecated permission. Do not build new functionality using this permission. This permission is only available to custom integrations which currently have it enabled. |
|
| Provides a link which a user can follow to claim their Workplace account (only available for unclaimed users). |
|
| Provides an access code which a user can follow to claim their Workplace account (only available for unclaimed users). |
|
| User's locale. This is the locale that Workplace will use for this user until there is another way to determine the user's locale (such as a browser or device language setting) |
|
| Information about the user's frontline status |
|
| Whether the user account is active |
|
Edge Name | Description |
---|---|
Events for this person. By default this does not include events the person has declined or not replied to. | |
The feed of posts (including status updates) and links published by this person. | |
| A person or bot page's Workplace Messages. Requires the Read all messages permission for viewing a person's conversations. |
| A person's listed manager or managers. |
| A person's listed reports. |
The member's profile pictures. | |
| Groups associated with a member. |
| Phone numbers associated with a member. |
| The member's skills. |
| Badges awarded to the user |
| Log a user out of Workplace. |
Remove profile information for a deactivated user. |
GET /{member_id}?fields=email,name HTTP/1.1
Host: graph.facebook.com
GET /{email_address} HTTP/1.1
Host: graph.facebook.com
GET /community/members?external_ids=12356,abc123 HTTP/1.1
Host: graph.facebook.com
GET /community/organization_members?inactive=1 HTTP/1.1
Host: graph.facebook.com
GET graph.facebook.com
/{member-id}/events
GET /{member_id}/reports HTTP/1.1
Host: graph.facebook.com
GET /{member_id}/managers HTTP/1.1
Host: graph.facebook.com
Requires custom integration token with Read all messages permission:
GET graph.facebook.com
/{member-id}/conversations?fields=messages{message,attachments,from}
Requires custom integration token with Read all messages permission:
GET graph.facebook.com
/{member-id}/conversations
Requires custom integration token with Read all messages permission:
GET graph.facebook.com
/{thread-id}/messages?user={user-id}
GET graph.facebook.com
/me/conversations?fields=messages{message,attachments}
The /me
alias points to the bot's page when using a custom integration token
Requires custom integration token with Delete chat messages permission
DELETE graph.facebook.com
/{message-id}?user={user-id}
Deleting a message only deletes the message from the view of the member who was specified in the request. To delete a message entirely, each member's view of that message must be deleted.
Requires custom integration token with Manage Accounts permission:
GET graph.facebook.com
/{member-id}?fields=account_invite_time,account_claim_time
These fields are only present if the member was invited or claimed their account
Requires custom integration token with Manage Accounts permission:
GET graph.facebook.com
/{member-id}?fields=account_deactivate_time
These fields are only present if the member's account has been deactivated
Requires access token token with Logout permission:
POST graph.facebook.com
/{member-id}/logout
Requires access token token with Manage Work Profiles permission. Supports both a file URL and file upload within the request.
POST graph.facebook.com
/{member-id}/profile_pictures?
image_url={...}&
caption={...}
POST graph.facebook.com
/{member-id}/profile_pictures?
caption={...}
Content-Type: multipart/form-data;
Content-Disposition: form-data; name="image_data"; filename="/profile_picture.png
Requires access token token with Manage Work Profiles permission.
POST graph.facebook.com
/{member-id}/phones?
type={...}&
primary={...}&
number={...}
Requires access token token with Read Work Profile permission.
GET graph.facebook.com
/{member-id}/skills
Requires access token token with Manage Work Profile permission.
POST graph.facebook.com
/{member-id}/skills?name={...}
Requires access token token with Manage Work Profile permission.
DELETE graph.facebook.com
/{member-id}/skills?name={...}
Requires access token token with Read Work Profile permission.
GET graph.facebook.com
/{member-id}/badges?fields=id,name,description,icon,category
Requires access token token with Manage badges permission. See community documentation for listing available badges and their IDs.
POST graph.facebook.com
/{member-id}/badges?badge=workplace_champion
Requires access token token with Manage badges permission. See community documentation for listing available badges and their IDs. Note that the # in the URL needs to be URL encoded.
POST graph.facebook.com
/{member-id}/badges?badge=workplace_custom#{badge_id}
Requires access token token with Provision User Accounts permission.
POST graph.facebook.com
/{member-id}?active=false
Requires access token token with Provision User Accounts permission.
DELETE graph.facebook.com
/{member-id}
Only unclaimed members are available for deletion.
GET graph.facebook.com
/{user-id}?fields=frontline
{
"frontline": {
"is_frontline": true
},
"id": "100038142594104"
}