Skip to main content

Postscript

Postscript is an SMS marketing and sales platform for Shopify brands. This guide will walk you through connecting Postscript to a high-performance GraphQL API.

Don't have a project yet? Check out this guide for setting one up.

Connecting Postscript

Getting Postscript API credentials

First we are going to locate the necessary API credentials in your Postscript account. Log in to Postscript and navigate to the API page under your shop.

Create a security key pair if you don't have one. You'll need the private key to configure your project.

Adding the Postscript service

With this information ready, you can now configure your Postscript service. Log in to your project then click "Connect Service" on the Home page. Click "Postscript" to start configuring your Postscript service. You can use whatever Name, Slug, and Namespace you want or leave the default values. Enter the API Private Key that you located in the previous step.

Click Save when you are finished. You'll be forwarded to the API tab.

Selecting Queries & Mutations

On the API tab, click the Postscript service in the services panel on the left in order to show the available shapes, queries, and mutations. To do a simple test, find a test query and click the plus button to add it to your schema. Then click the "Preview in API Explorer" button and then finally "Run Query". The query results will be shown on the right.

Using the integration

To learn more about querying the GraphQL API in your app, check out our guide for using the GraphQL API.

To learn how to improve performance by indexing data from 3rd party services, check out our indexing guide.

Still need help? Get in touch with us.