Developers
Connect your systems to Pickcell
Call the API over HTTPS with a token from your API key, and get signed webhooks when something happens in your account.
What you can build
Send from your own systems
Text a customer when their order ships, email a receipt from a template, or send a campaign to rows from your own database.
React to what happens
Get a signed webhook when a ticket is sold, an invoice is paid or a form is submitted, and update your own records.
Keep systems in step
Add contacts to subscriber lists, store files and create events from the tools you already run.
How the products connect
Your app calls a product's API. When something changes, the product publishes an event to Pickcell events, which delivers it to the endpoint you registered. Choose a product to see both sides.
Showing Messaging
Messaging
Your app calls
POST /v1/messaging/messagesPOST /v1/messaging/campaignsPOST /v1/lists/{listId}/contacts
Some events to your endpoint
- message.queued
- message.sent
- message.delivered
- message.bounced
- contact.verified
- contact.unsubscribed
Authentication
- 1The account owner creates an API key in the console under Identity & Access, API keys, with roles for the products it will call. The key is shown once.
- 2Your server exchanges the key for a short-lived access token, naming your account address in the
x-original-hostheader. - 3Send the token as
Authorization: Bearer <token>on every call. There is no refresh token: when it expires, exchange the key again.
Examples use https://api.pickcell.io.
curl -X POST https://api.pickcell.io/v1/auth/key-exchange \
-H "content-type: application/json" \
-H "x-original-host: <your account address>" \
-d '{"key": "<your API key>"}'const res = await fetch('https://api.pickcell.io/v1/auth/key-exchange', {
method: 'POST',
headers: {
'content-type': 'application/json',
'x-original-host': process.env.PICKCELL_ACCOUNT_ADDRESS,
},
body: JSON.stringify({ key: process.env.PICKCELL_API_KEY }),
});
const { accessToken } = await res.json();import { Pickcell } from '@pickcell/sdk/pickcell';
// The client exchanges the key on its first call, and again
// when the token is within a minute of expiring.
const pickcell = new Pickcell({
baseUrl: 'https://api.pickcell.io',
apiKey: process.env.PICKCELL_API_KEY,
accountIdentifier: process.env.PICKCELL_ACCOUNT_ADDRESS, // sent as x-original-host
});Guides
Quickstart
Get a key, make your first call and verify your first webhook.
Webhooks
Endpoints, filters, signatures, retries and replay for every event.
Messaging API
Send SMS and email from your own code
Events API
Create events and follow every booking
Invoicing events
Hear when invoices are issued and paid
Signage events
Hear when boards publish and screens pair
Forms API
Read submissions and hear about new ones
Files API
Store and serve files from your own code
Task board events
Hear when tasks are created, moved and done