The profile registration API uses an asynchronous pattern. When you register a new profile, you receive an identifier to track the request status rather than an immediate success or failure response.
Register Profile Endpoint: POST /profile/register-profile Submit a username and password to initiate profile registration.
The API performs basic validation immediately. If validation fails, you'll receive an error response. However, business logic validation occurs asynchronously after the initial response.
2.
Check Registration Status Endpoint: GET /request-status/{identifier} Use the identifier from the registration response to check the processing status.
curl--location--request POST 'https://sandbox.privicore.com:9009/profile/register-profile' \
--data-urlencode'username=' \
--data-urlencode'password='
Responses
🟢202Success
application/json
Command accepted. Use utility endpoint /request-status/{commandId} to retrieve command id status. Upon obtaining authorization token in next request (/profile/authenticate), subscribe to your profile channel on DPT CAB websocket server via profile authorization token and receive command status messages more conveniently in real time.