Installation
Install the server-side SDK of your choice by running a command in your terminal, or by using a dependency management tool specific to your project.Authentication
Identity Manager uses OAuth 2.0 client credentials authentication. Obtain an access token before making API calls.Token ExpirationThe OAuth token expires after 60 minutes, requiring you to get another token. The SDK handles token refresh automatically.
API functions
Identity Manager provides eight core functions for comprehensive identity management. Refer to the API reference documentation for detailed information on each endpoint.Enroll Identity
Enrolls a single identity for monitoring.phoneNumber: The number of the consumer you want to enroll.
clientCustomerId: A client-generated unique ID for a specific customer.clientRequestId: A client-generated unique ID for a specific session.deviceId: A string that’s the unique identifier for the Prove Key on the device. Only applicable if you are leveraging Prove Unified Authentication.
identityId: A unique Prove-generated identifier for the enrolled identity.success: If true, the request succeeded and the system created the identity.
Batch enroll identities
Enrolls several customers in a single request for efficient bulk operations.clientRequestId: A client-generated unique ID for a specific session.items: Represents a list of identities that you wish to enroll.
results: Represents a list of identities that were either successfully enrolled or an error message.
Batch get identities
Return a list of all identities you have enrolled in Identity Manager with pagination support.limit: The maximum number of identities to return per call.
lastKey: A pagination token for callers that have more identities to return.results: The list of identity IDs associated with the client.
Get Identity
Return details of an identity given the identity ID.identityId: A unique Prove-generated identifier for the enrolled identity.
- Complete identity object with all associated data.
Get identities by phone number
Return a list of all identities you have enrolled with this phone number.mobileNumber: The phone number to retrieve identities for.
items: The list of identities associated with the given phone number.
Activate Identity
Sets an identity as active for monitoring.identityId: A Prove-generated unique ID for a specific identity.
success: Boolean indicating if activation was successful.
Deactivate Identity
Sets an identity as inactive, stopping webhook notifications.identityId: The unique identifier of the identity.
success: If true, the deactivate operation was successful.
Deactivated identities remain in the system and can be reactivated later. Use this instead of disenroll for temporary monitoring suspension.
Disenroll identity
Disenrolls an identity from Identity Manager. If you wish to watch it in the future, you must re-enroll that identity.identityId: The unique identifier of the identity.
success: If true, the disenroll operation was successful.
Disenrolled identities can’t be recovered through the API. Consider using deactivation instead for temporary suspension.
Always test your implementation in the sandbox environment before moving to production.

