List all projects
Endpoint
https://api.verifik.co/v2/projects
With this service, you can bring all projects that you have created.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Request
const axios = require('axios');
let data = JSON.stringify({
"name": "New Project ABCDEF"
});
let config = {
method: 'post',
maxBodyLength: Infinity,
url: 'https://api.verifik.co/v2/projects',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer eyJhbGciOiJ9.eyJjbGllbnRJZCI6Ij...plt4Cw'
},
data : data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Response
{
"data": {
"client": "613a3a48f2c84b454153add7",
"name": "New Project ABCDEF",
"projectMembers": [],
"branding": {
"bgColor": "#01236D",
"borderColor": "#B2BDD3",
"titleColor": "#FFFFFF",
"logo": null,
"tabColor": "#01236D",
"buttonColor": "#B2BDD3",
"buttonTxtColor": "#FFFFFF",
"secondaryButtonColor": "#B2BDD3",
"secondaryButtonTextColor": "#FFFFFF",
"txtColor": "#8091B6",
"rightImage": null,
"rightImagePosition": "center center",
"rightBackgroundColor": "white"
},
"status": "draft",
"currentStep": 0,
"lastStep": 1,
"allowedCountries": [],
"_id": "6761ef74fceb6cd4b90c67ad",
"updatedAt": "2024-12-17T21:39:01.167Z",
"createdAt": "2024-12-17T21:39:00.474Z",
"__v": 0,
"assignedCollection": "6761ef74fceb6cd4b90c67af",
"collectionCode": "086e0814-6b40-429e-8c8c-67553b05d12f"
}
}
Last updated