Here, you will find out all information about Propovoice API Endpoint clients. Read out the complete API documentation to gather detailed knowledge about it.
List Clients #
Description here
Request Method GET
API Endpoint /wp-json/ndpv/v1/clients
Response Status Code 200 OK
{
  "success": true,
  "data": {
    "result": [
      {
        "id": 3548,
        "type": "person",
        "first_name": "Mahbub Alam",
        "org_name": "",
        "email": "[email protected]",
        "web": "",
        "mobile": "+46 8 676 91 00",
        "country": "",
        "region": "",
        "address": "",
        "img": null,
        "date": "April 2, 2023"
      },
      {
        "id": 3546,
        "type": "person",
        "first_name": "Rachel Lee",
        "org_name": "",
        "email": "[email protected]",
        "web": "",
        "mobile": "",
        "country": "",
        "region": "",
        "address": "",
        "img": {
          "id": "3547",
          "src": "http://propovoice.local/wp-content/uploads/2023/04/Aveter1-01.png"
        },
        "date": "April 2, 2023"
      }
    ],
    "total": 2
  }
}Create Client #
Description here
Request Method POST
API Endpoint /wp-json/ndpv/v1/clients
Request Payload application/json
- address: String OPTIONAL
- country: String OPTIONAL
- date: Date | false OPTIONAL
- email: String REQUIRED
- first_name: String REQUIRED
- id: null OPTIONAL
- mobile: String OPTIONAL
- org_id: null OPTIONAL
- org_name: String OPTIONAL
- person_id: null OPTIONAL
- region: String OPTIONAL
- web: String OPTIONAL
{
	"address": "",
	"country": "",
	"date": false,
	"email": "[email protected]",
	"first_name": "Alex Nguyen",
	"id": null,
	"mobile": "",
	"org_id": null,
	"org_name": "",
	"person_id": null,
	"region": "",
	"web": ""
}Response Status Code 200 OK
{
	"success": true
}Read Client #
Description here
Request Method GET
API Endpoint /wp-json/ndpv/v1/contacts/{CLIENT_ID}
Query String Parameters
- CLIENT_ID
Response Status Code 200 OK
{
  "success": true,
  "data": {
    "id": 3546,
    "ws_id": "7",
    "tab_id": "3546",
    "note": "",
    "project": 0,
    "deal": 0,
    "person": {
      "id": 3546,
      "first_name": "Rachel Lee",
      "org_id": "",
      "org_name": "",
      "email": "[email protected]",
      "mobile": "",
      "img": {
        "id": "3547",
        "src": "http://propovoice.local/wp-content/uploads/2023/04/Aveter1-01.png"
      },
      "web": "",
      "country": "",
      "region": "",
      "address": ""
    },
    "org": null,
    "status_id": {
      "id": null,
      "label": null,
      "color": "#4a5568",
      "bg_color": "#E2E8F0",
      "type": false
    },
    "tags": [],
    "date": false
  }
}Update Client #
Description here
Request Method PUT
API Endpoint /wp-json/ndpv/v1/persons/{CLIENT_ID}
Query String Parameters
- CLIENT_ID
Request Payload application/json
- address: String OPTIONAL
- country: String OPTIONAL
- date: Date | false OPTIONAL
- email: String REQUIRED
- first_name: String REQUIRED
- id: Integer REQUIRED
- mobile: String OPTIONAL
- org_id: null OPTIONAL
- org_name: String OPTIONAL
- person_id: null OPTIONAL
- region: String OPTIONAL
- web: String OPTIONAL
{
	"address": "",
	"country": "",
	"email": "[email protected]",
	"first_name": "Mahbub Alam",
	"id": 3548,
	"img": null,
	"mobile": "+46 8 676 91 00",
	"org_id": "",
	"org_name": "",
	"region": "",
	"web": ""
}Response Status Code 200 OK
{
	"success": true,
	"data": 3548
}Delete Client #
Description here
Request Method DELETE
API Endpoint /wp-json/ndpv/v1/contacts/{CLIENT_ID}
Query String Parameters
- CLIENT_ID
Response Status Code 200 OK
{
	"success": true,
	"data": [
		"3558"
	]
}