Skip to content

Documentation

Quick Start

Send your first authenticated request in three steps.

  1. 1

    Create an API key

    Ask an account admin to create an API key: in the JupiterMail dashboard open Contacts, choose Add contact, select Add contact with API, then copy the generated API key.

  2. 2

    Validate your key

    Call the validation endpoint to confirm the key works and inspect its company and credential context.

    curl --request GET \
      --url 'https://api.jupitermail.app/customer/api/v1/auth/validate' \
      --header 'Authorization: Bearer <API_KEY>'
  3. 3

    Make your first request

    Add the Authorization header to every request and call any endpoint. The example below lists your mailing lists.

    curl --request GET \
      --url 'https://api.jupitermail.app/customer/api/v1/mailing-lists/' \
      --header 'Authorization: Bearer <API_KEY>'

Keep your key secret

Never expose your API key in client-side code or public repositories.