Getting Started
This documentation is a work in progress. Please bare with us.
In order to get your api-key, please call support on +982128427490
Get all the contacts
GET
https://api.pakat.net/v3/contacts
Query Parameters
Name | Type | Description |
---|---|---|
limit | string | Number of documents per page |
offset | string | Index of the first document of the page |
modifiedSince | string | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. |
Headers
Name | Type | Description |
---|---|---|
Content-Type | string | application/json |
Accept | string | application/json |
api-key | string | Your API Key |
Create a contact
POST
https://api.pakat.net/v3/contacts
Headers
Name | Type | Description |
---|---|---|
api-key | string | |
Content-Type | string | application/json |
Accept | string | application/json |
Request Body
Name | Type | Description |
---|---|---|
smtpBlacklistSender | boolean | transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true ) |
updateEnabled | boolean | Facilitate to update the existing contact in the same request (updateEnabled = true) |
string | Email address of the user. Mandatory if "sms" field is not passed in "attributes" parameter | |
attributes | array | Pass the set of attributes and their values. These attributes must be present in your Pakat account. For eg. {'FNAME':'Elly', 'LNAME':'Roger'} |
emailBlacklisted | boolean | Set this field to blacklist the contact for emails (emailBlacklisted = true) |
smsBlacklisted | boolean | Set this field to blacklist the contact for SMS (smsBlacklisted = true) |
listIds | array | Array of integers. Ids of the lists to add the contact to |
Last updated