Check User Status

CUSTOM-ENDPOINT

GET https://api.speakap.io/networks/:eid/users/:eid/status

Use Cases

  • Check if a user has activated its network profile
  • Find out if a user has been deleted from a network

CUSTOM-AUTHORIZATION

Permissions: get_profile_status

CUSTOM-REQUEST

  • URI: /networks/{networkEID}/users/{userEID}/status
  • Method: GET
  • Accept: application/vnd.speakap.api-v1.8.2+json+hal
  • Authentication: OAuth 2.0

Parameters

NameTypeDescription
networkEIDEIDNetwork EID
userEIDEIDUser profile EID

Response

StatusData
200Returns the status
403Unauthorized: returns an Error object
404Unknown user or network: returns an Error object
NameTypeDescription
statusstringactive, inactive, canceled, deleted, or unknown

The following table explains the meaning of the different statuses:

StatusDescription
activeThe user can access the network and has a regular membership.
inactiveThe user has a pending invite and did not yet finish the registration procedure
canceledThe user has been invited, but the pending invitation is removed. The status before canceled was inactive.
deletedAn active user is permanently removed from the network. The status before deleted was active.
unknownUnknown EID, profile not found in the current network. Is this EID correct?

Example

{
    "status": "inactive"
}