Skip to content
Connections

Connect your own tools with the Optimate API

Make an API key so Zapier, Make or your own software can schedule posts, save drafts and read your analytics, and stop a key working at any time.

The Optimate API lets other software work with your account: list your connected accounts, schedule, publish or draft posts, make branded designs, and read your analytics and best posting times. It's included on Pro, Studio and Agency, and during the free trial.

Make a key

  1. Open Settings → Automations and find API keys.
  2. Name the key after what will use it, like "Zapier", so you know which one to revoke later.
  3. Choose Read and post to schedule and publish, or Read only for reports and dashboards.
  4. Copy the key straight away. It starts with opt_live_ and is shown only once.

The developer guide has the requests, the Zapier and Make steps, and every endpoint.

Hear when a post goes out

A webhook works the other way round: Optimate tells Zapier, Make or your own server when a post is scheduled, goes out, partly goes out or fails. Use it to post in Slack when something fails or to update a client sheet. Webhooks are on the same plans as the API.

  1. In Zapier, start a Zap with Webhooks by Zapier → Catch Hook (in Make, Webhooks → Custom webhook) and copy the address it gives you.
  2. Open Settings → Automations and find Webhooks. Paste the address and tick what you want to hear about. An agency can pick one client.
  3. Press Add webhook, then Send test so Zapier or Make can see the fields.

Each webhook has a delivery log in Settings. The developer guide has the fields, the headers and how to check the signature.

Frequently asked

Which client does the API post for?

The one you name. Every call that schedules, posts, drafts or edits takes a client's name or id as a "client" parameter, and so do the lists of accounts, posts and the brand profile; GET /clients lists your clients. In a workspace with more than one client, a call that schedules, posts, saves a draft, repurposes or makes a design must name the client: without it the request is refused with a 400 and nothing is sent. A read without it, including the analytics and Inbox reads, uses whichever client is active in Optimate, so name the client in any automation that runs on its own.

How do I stop a key working?

Revoke it in Settings → Automations. It stops working on the very next request.

Why did my key stop working?

If you didn't revoke it: Changing your Optimate password, or using Sign out everywhere else with “Also disconnect connected apps and API keys” ticked, switches off every API key: make a new one. A switched-off key gets a 401 answer.

Was this article helpful?

Related articles

Still stuck? Talk to us

Tell us what you were trying to do and what happened, and someone on the team will reply. We reply to every message.

Think something is down? Check service status