Internal

List user emails in an organization (internal)

Returns the lowercased, deduped emails of every active user in the organization. Restricted to trusted internal origins.

get/v1/users/emails

Request

  • Base URL
    https://identity-api.paymongo.com
  • URL
    https://identity-api.paymongo.com/v1/users/emails
  • Auth
    API key in header X-Internal-Api-Key

Query parameters

organization_idstring required

Organization id

Response

OK

datastring[]

Example response

{
  "data": [
    "jane@example.com",
    "john@example.com"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.