← Tools Reference

PostGrid

PostGrid integration (Communication, Marketing). Imported from open-connector.

API key9 toolshttps://api.postgrid.com/print-mail/v1
POST
postgrid_create_contact
Create a PostGrid Print & Mail contact using either a person name, company name, or both.

/contacts

16 parameters
ParamTypeRequiredDescription
addressLine1stringrequiredThe first line of the contact's address.
addressLine2stringoptionalThe second line of the contact's address.
citystringoptionalThe city of the contact's address.
provinceOrStatestringoptionalThe state or province of the contact's address.
postalOrZipstringoptionalThe postal or ZIP code of the contact's address.
countryCodestringrequiredThe ISO 3166-1 alpha-2 country code of the contact's address.
companyNamestringoptionalThe contact company name. Required when firstName is omitted.
firstNamestringoptionalThe contact first name. Required when companyName is omitted.
lastNamestringoptionalThe contact last name.
emailstringoptionalThe contact email address.
phoneNumberstringoptionalThe contact phone number.
jobTitlestringoptionalThe contact job title.
descriptionstringoptionalAn optional description visible in PostGrid and the dashboard.
metadataobjectoptionalMetadata key-value pairs stored with the PostGrid resource.
skipVerificationbooleanoptionalWhether PostGrid should skip address verification.
forceVerifiedStatusbooleanoptionalWhether PostGrid should force this contact to verified status.
GET
postgrid_list_contacts
List PostGrid Print & Mail contacts with optional pagination and search.

/contacts

3 parameters
ParamTypeRequiredDescription
skipintegeroptionalThe number of resources to skip before returning results.
limitintegeroptionalThe maximum number of resources to return.
searchstringoptionalAn unstructured search string or a JSON string representing a PostGrid structur…
GET
postgrid_get_contact
Retrieve one PostGrid Print & Mail contact by ID.

/contacts/{id}

1 parameter
ParamTypeRequiredDescription
idstringrequiredThe PostGrid contact ID.
DELETE
postgrid_delete_contact
Delete one PostGrid Print & Mail contact by ID.

/contacts/{id}

1 parameter
ParamTypeRequiredDescription
idstringrequiredThe PostGrid contact ID.
POST
postgrid_create_template
Create a PostGrid Print & Mail template with optional HTML, description, and metadata.

/templates

3 parameters
ParamTypeRequiredDescription
htmlstringoptionalThe HTML content of the template.
descriptionstringoptionalAn optional description visible in PostGrid and the dashboard.
metadataobjectoptionalMetadata key-value pairs stored with the PostGrid resource.
GET
postgrid_list_templates
List PostGrid Print & Mail templates with optional pagination and search.

/templates

3 parameters
ParamTypeRequiredDescription
skipintegeroptionalThe number of resources to skip before returning results.
limitintegeroptionalThe maximum number of resources to return.
searchstringoptionalAn unstructured search string or a JSON string representing a PostGrid structur…
GET
postgrid_get_template
Retrieve one PostGrid Print & Mail template by ID.

/templates/{id}

1 parameter
ParamTypeRequiredDescription
idstringrequiredThe PostGrid template ID.
POST
postgrid_update_template
Update the HTML, description, or metadata of one PostGrid Print & Mail template.

/templates/{id}

4 parameters
ParamTypeRequiredDescription
idstringrequiredThe PostGrid template ID to update.
htmlstringoptionalThe replacement HTML content for the template.
descriptionstringoptionalThe replacement description for the template.
metadataobjectoptionalMetadata key-value pairs stored with the PostGrid resource.
DELETE
postgrid_delete_template
Delete one PostGrid Print & Mail template by ID.

/templates/{id}

1 parameter
ParamTypeRequiredDescription
idstringrequiredThe PostGrid template ID.