# What the developer API can do

> **Short answer:** A key lets your code read and change your contacts, segments, and custom fields, and hear about changes through webhooks. The API follows the same rules as adding someone in Jounce.

The developer API is for code. That might be a script, your website's server, or
a tool a developer builds for you.

Your code shows Jounce a key, then reads and changes your contacts in the same
ways the app does. If no one writes code for you, Zapier does most of this with
no code; see
[Which integration do you need?](https://help.jounce.com/integrations/the-integrations-page/which-integration-do-you-need)

## What your code can do

- **Add or update a contact** by email address. Include a first and last
  name, custom fields, and the segments they belong in. If the address is
  already there, Jounce updates that person. It never makes a second copy. A
  custom field spelled like a built-in one never becomes a field of its own.
  Sent as _first name_ or _last name_, it counts as the real one when the
  request has none. Anything else is left out, and Jounce's reply says so.
- **Record an unsubscribe**, even for an address Jounce hasn't seen. If that
  person is added later, they come in as unsubscribed.
- **Move people between segments**, and create segments and custom fields. If
  your code creates a field by a name you already have, Jounce finds that
  field instead of making a second one. A custom field can't take a built-in
  field's name, such as _First name_, in any spelling. Jounce refuses the
  request with a reason your developer can read. It also refuses to create a
  field your team is still deleting, until the delete is done.
- **Read your forms and flows** — their names and whether they're
  published or live. Code can't edit, launch, or pause a flow.
- **Set up webhooks**. Then Jounce tells your code the moment a contact
  joins, changes, unsubscribes, or moves; see
  [Webhooks](https://help.jounce.com/integrations/the-developer-api/webhooks).

**API docs** on the Developer API page lists every address and what each
request looks like. It also has an example to try a new key with.

## The same rules as the app

A contact added by code is held to the rules a form or a CSV import
follows:

- Someone who unsubscribed, bounced, or complained keeps that status. An
  update changes their details, never their status. An address that opted
  out before is added as unsubscribed; see
  [Contact statuses](https://help.jounce.com/contacts/all-contacts/contact-statuses).
- Jounce refuses an address on a throwaway email domain. It accepts a shared
  inbox such as _info@_, with a warning your developer can read.
- Jounce refuses an address a contact used before their email
  address was changed. That old address stays tied to them, as it does in **Add manually**
  and imports; see
  [Change a contact's email address](https://help.jounce.com/contacts/a-contacts-page/change-a-contacts-email-address).
- Your code can ask Jounce to send the person a confirmation email first.
  Then they're Unconfirmed until they click the link in it. Every workspace
  has this email, written and sent by Jounce; see
  [The confirmation email](https://help.jounce.com/forms/confirmation-and-opt-in/the-confirmation-email).
- Putting someone in a segment can start a flow that watches it.
  That's the same as adding them in Jounce.

On the contact's own page, Details shows their source as **API**; see
[Where a contact came from](https://help.jounce.com/contacts/all-contacts/where-a-contact-came-from).

## What it can't do

- Send an email or start a send. Emails go out from Jounce.
- Create or edit emails, forms, or flows.
- Reach a workspace other than the one the key was created in.
- Change anything with a read-only key; see
  [Full access and read-only keys](https://help.jounce.com/integrations/the-developer-api/full-access-and-read-only-keys).

## Also answered here

- “can code add people to a segment”
- “why didn't the api save my first name custom field”
- “can the api send emails”

---

Updated 2026-11-25 · https://help.jounce.com/integrations/the-developer-api/what-the-developer-api-can-do
