cs-membership-user-migration
The cs-membership-user-migration API is designed to expose user data from the Virtual Office Digital Lab. It facilitates the migration of user memberships by allowing the retrieval of user information based on their B2C identifier
home
📋 Home - CS Membership User Migration API
Welcome to the CS Membership User Migration API documentation. This API allows you to retrieve user information based on their B2C identifiers, supporting seamless user data migration in the Virtual Office Digital Lab.
🚀 Base URL
https://cs-membership-user-migration-{env}.us-e1.cloudhub.io/api/
- Environment Options:
dev
(Development)qa
(Quality Assurance)
🔐 Authentication
This API uses two security mechanisms:
- Client ID Enforcement - Requires a valid
client_id
. - OAuth 2.0 - Token-based authentication with
Bearer
tokens.
Example header:
bash
-H "client_id: YOUR_CLIENT_ID" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
📍 Endpoints
1️⃣ GET /obtain-users-by-b2c
- Description: Retrieve users based on their B2C identifier.
- Query Parameter:
sub
(string) - The B2C user ID (required).
Example Request:
curl -X GET "https://cs-membership-user-migration-dev.us-e1.cloudhub.io/api/obtain-users-by-b2c?sub=4fbcdd2e-c284-4aa1-9320-ab72a21d4aaf" \
-H "Content-Type: application/json" \
-H "client_id: YOUR_CLIENT_ID" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
📦 Response Example
{
"id": "4fbcdd2e-c284-4aa1-9320-ab72a21d4aaf",
"name": "John Doe",
"email": "john.doe@example.com",
"status": "active"
}
📞 Support
For any questions or issues, please contact the API support team COORDINACION DESARROLLO DE SERVICIOS Y APLICACIONES DE INTEGRACIONES.
Notes
- Documentation adjusted in February 2025.
- For additional information, contact: epalma@fgs.co