Functions

get-templates-associated-with-this-server

fn (request: ListTemplatesRequest): ListTemplatesResponse
fn (request: ListTemplatesRequest, opts: Map): ListTemplatesResponse

Retrieve a paginated list of templates associated with the current server.

Example

response ::postmark::list/get-templates-associated-with-this-server(::postmark::list/ListTemplatesRequest({
    count: "10",
    offset: "0"
}))
response.TotalCount // => 5

list-inbound-rule-triggers

fn (request: ListInboundRulesRequest): ListInboundRulesResponse
fn (request: ListInboundRulesRequest, opts: Map): ListInboundRulesResponse

Retrieve a paginated list of inbound rule triggers configured on the server.

Example

response ::postmark::list/list-inbound-rule-triggers(::postmark::list/ListInboundRulesRequest({
    count: "10",
    offset: "0"
}))
response.TotalCount // => 0

Types

ListInboundRulesRequest

ListInboundRulesRequest type {
    count: Str,
    offset: Str
}

ListInboundRulesResponse

ListInboundRulesResponse type {
    TotalCount: Int?,
    InboundRules: Vec<Map>?
}

ListTemplatesRequest

ListTemplatesRequest type {
    count: Str,
    offset: Str
}

ListTemplatesResponse

ListTemplatesResponse type {
    TotalCount: Int?,
    Templates_API: Vec<TemplateRecordResponse>?
}

TemplateListingResponse

TemplateListingResponse type {
    TotalCount: Int?,
    Templates_API: Vec<TemplateRecordResponse>?
}

TemplateRecordResponse

TemplateRecordResponse type {
    Name: Str?,
    Alias: Str?,
    TemplateId: Int?,
    Active: Bool?
}