Mailmus

Contacts

GET
/apps/{appId}/contacts
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
POST
/apps/{appId}/contacts
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
GET
/apps/{appId}/contacts/export
AuthorizationBearer <token>

In: header

Path Parameters

appId*string

Response Body

curl -X GET "https://example.com/apps/string/contacts/export"
Empty
POST
/apps/{appId}/contacts/import
AuthorizationBearer <token>

In: header

Path Parameters

appId*string

Response Body

curl -X POST "https://example.com/apps/string/contacts/import"
Empty
POST
/apps/{appId}/contacts/batch
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
GET
/apps/{appId}/contacts/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string
appId*string

Response Body

curl -X GET "https://example.com/apps/string/contacts/string"
Empty
PATCH
/apps/{appId}/contacts/{id}
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
DELETE
/apps/{appId}/contacts/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string
appId*string

Response Body

curl -X DELETE "https://example.com/apps/string/contacts/string"
Empty
PATCH
/apps/{appId}/contacts/{id}/unsubscribe
AuthorizationBearer <token>

In: header

Path Parameters

id*string
appId*string

Response Body

curl -X PATCH "https://example.com/apps/string/contacts/string/unsubscribe"
Empty
PATCH
/apps/{appId}/contacts/{id}/resubscribe
AuthorizationBearer <token>

In: header

Path Parameters

id*string
appId*string

Response Body

curl -X PATCH "https://example.com/apps/string/contacts/string/resubscribe"
Empty