Suggestions

close search

Contact Management

Create a contact

URL: https://api.stringeex.com/v1/contact

HTTP method: POST

Content-Type: application/json

Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see StringeeX API REST Authentication

POST data (body):

{
    "name": "Dau Ngoc Huy",
    "job_title": "CEO",
    "company": null,
    "avatar": null,
    "about": "mo ta ve huy"
}

Response:

{
    "id": "ac_dzwwtspdv1ycig7v",
    "r": 0,
    "msg": "Success"
}

Update a contact

URL: https://api.stringeex.com/v1/contact/com_952dg1ihrq7k2ubc

HTTP method: PUT

Content-Type: application/json

Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see StringeeX API REST Authentication

PUT data (body):

{
    "name": "Dau Ngoc Huy 2",
    "job_title": "CEO1",
    "company": "company_1",
    "avatar": null,
    "about": "mo ta ve huy 2"
}

Response:

{
    "r": 0,
    "msg": "Success"
}

Delete a contact

URL: https://api.stringeex.com/v1/contact/com_952dg1ihrq7k2ubc

HTTP method: DELETE

Content-Type: application/json

Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see StringeeX API REST Authentication

Response:

{
    "r": 0,
    "msg": "Delete success"
}

List contacts

URL: https://api.stringeex.com/v1/contact?limit=2&page=1&name=minh&id=&company=company_1&sort_by=created&sort_order=desc

HTTP method: GET

Content-Type: application/json

Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see StringeeX API REST Authentication