Get Contact Details
This request is used to retrieve the details of a contact
URL
GET
https://api.smspartner.fr/v1/contact/detail
Parameters
Name
Value
apiKey
contactId
The ID of the contact
Request
{
"url": "https://api.smspartner.fr/v1/contact/detail?apiKey=YOUR_API_KEY&contactId=ID_CONTACT",
"method": "GET",
"location": true
}
Response
{
"success": true,
"code": 200,
"contact": {
"contactId": "ID CONTACT",
"phone": "+xxxxxxxxxxx",
"firstname": "",
"lastname": "",
"url": "",
"shortUrl": "",
"date": "",
"custom1": "",
"custom2": "",
"custom3": "",
"custom4": "",
"createdAt": "2020-10-02T16:40:05+02:00",
"stopSms": false,
"groupId": 6363
}
}
Errors
{
"success": false,
"code": 10,
"message": "Invalid API key"
}
Error Codes
Response Code
Message
10
API key is required
Last updated