Retrieve a project

Endpoint

https://api.verifik.co/v2/projects/{id}

With this service, you can bring all projects that you have created or if you only want one, you can specify the ID of the project and the endpoint will return only the selected project.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Parameters

Name
Type
Description

id

string

ID of the project that you want to bring the information.

Request

import http.client

conn = http.client.HTTPSConnection("api.verifik.co")
payload = ''
headers = {
  'Authorization': 'Bearer eyJhbGciOiJIXVCJ9.eyJjbGllbn...lt4Cw'
}
conn.request("GET", "/v2/projects/6761ef74fceb6cd4b90c67ad", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

Response

{
  "data": {
    "__v": 0,
    "_id": "6577709346f8a7e9a36c4a34",
    "name": "Ejemplo4",
    "client": "623b6317fe5fd1774be9f566",
    "status": "draft",
    "branding": {
      "logo": null,
      "bgColor": "#01236D",
      "txtColor": "#8091B6",
      "titleColor": "#FFFFFF",
      "borderColor": "#B2BDD3"
    },
    "lastStep": 1,
    "createdAt": "2023-12-11T20:26:59.536Z",
    "updatedAt": "2023-12-11T20:26:59.536Z",
    "currentStep": 0,
    "allowedCountries": [
      "Colombia"
    ]
  }
}

Last updated