Contacts
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
appId*string
Query Parameters
status*string
q*string
attrKey*string
attrValue*string
Response Body
curl -X GET "https://example.com/apps/string/contacts?status=string&q=string&attrKey=string&attrValue=string"Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
appId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/apps/string/contacts" \ -H "Content-Type: application/json" \ -d '{ "email": "contact@example.com" }'Empty
curl -X GET "https://example.com/apps/string/contacts/export"Empty
curl -X POST "https://example.com/apps/string/contacts/import"Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
appId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/apps/string/contacts/batch" \ -H "Content-Type: application/json" \ -d '{}'Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
appId*string
Response Body
curl -X GET "https://example.com/apps/string/contacts/string"Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
appId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/apps/string/contacts/string" \ -H "Content-Type: application/json" \ -d '{ "attributes": { "firstName": "Jane", "plan": "pro" } }'Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
appId*string
Response Body
curl -X DELETE "https://example.com/apps/string/contacts/string"Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
appId*string
Response Body
curl -X PATCH "https://example.com/apps/string/contacts/string/unsubscribe"Empty
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
appId*string
Response Body
curl -X PATCH "https://example.com/apps/string/contacts/string/resubscribe"Empty