Initiate Copy Verification API
Learn how to initiate the Copy Verification process for a CL2C user using the `/v1/cl2c/copyverify` endpoint.
The POST /v1/cl2c/copyverify
endpoint allows you to initiate the Copy Verification process for a specific CL2C user by providing their unique cL2CUserId
. This action requires authentication via tenant ID and API key.
Endpoint
POST
/v1/cl2c/copyverify
Initiates the Copy Verification process for a CL2C user.
Parameters
Name | Type | Location | Required | Description |
---|---|---|---|---|
tenant | string | Header | Yes | Tenant ID for accessing this API. |
X-API-Key | string | Header | Yes | API Key ID for accessing this API. |
Request Body
Content Type: application/json
Field | Type | Required | Description |
---|---|---|---|
cL2CUserId | string | Yes | The unique ID of the CL2C user for whom the Copy Verification is being initiated. |
Example Request Body
{
"cL2CUserId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Responses
Success (200)
Content Type: application/json
The response returns the ID of the initiated Copy Verification process.
Example Response
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
Error Responses
The endpoint may return standard error responses for invalid requests or server issues.
Code Samples
Usage in Different Frameworks
Node.js Example
const axios = require('axios');
const data = {
cL2CUserId: '3fa85f64-5717-4562-b3fc-2c963f66afa6' // Replace with actual CL2C user ID
};
axios.post('https://api.example.com/v1/cl2c/copyverify', data, {
headers: {
'tenant': 'your-tenant-id',
'X-API-Key': 'your-api-key'
}
})
.then(response => console.log(response.data))
.catch(error => console.error(error.response.data));