# Developer documentation API

> # Welcome Implementing a new tool can be daunting, but it doesn't have to. You can implement journy.io in a few different ways to ensure it fits with the rest of your tech stack seamlessly. We welcome your feedback, ideas and suggestions. We really want to make your life easier, so if we’re falling short or should be doing something different, we want to hear about it. Send us an email at [hi@journy.io](mailto:hi@journy.io) or reach out via the chat on our website or on our platform. There are multiple ways you can send us data about users and accounts. We have both frontend and backend APIs, which can be used together at the same time. If you already use [Segment](https://segment.com/), you can [get up and running with journy.io in seconds](https://help.journy.io/en/articles/6488307-the-segment-connector). # Concepts ## Users The most basic entity is a user, a specific individual that completed an interaction with your product. We support multiple types of users, often differentiated by it's external ID prefix. E.g. In the case you are building an ordering app, there could easily be an administrator (who updates products and checks for orders) and the end-customers who place orders. One could have a typical ADM-XXXXXXXX ID, while the other would be referenced by USR-XXXXXXXXX. ## Accounts In B2B SaaS, users can be part of multiple accounts. E.g. Imagine you're building a content scheduling app where an agency can manage the social media posts of their clients. Each client of the agency has its own account in the product. If your app doesn't have the concept of a team or group of users, you can ignore accounts. ## Events An event is a data point that represents an interaction between a user and/or an account; and your product. Events can represents any range of interactions. E.g. Every time a customer creates an invoice in an invoicing app. Actions like creating an invoice can be tracked as an event in journy.io. It's critical to track events properly. You'll need to provide either an account ID, or a user ID, or both; when tracking an event. E.g. If a user updates his personal settings, you can omit the account ID as the event would not be related to any account. In a same logic, an account could get a 'suspend account' event (with account ID) from an internal process, whereas no user would be associated. In most cases, events will be associated to both 1 user and 1 account. You can optionally pass extra details as metadata (e.g. amount of the invoice). This gets particarly powerfull when creating computed properties on those event metadata. E.g. Our above ordering app could send journy.io 'Place Order' events with metadata 'price', on which journy.io very easily would compute a total order value (for each account) for the last 30 days. 💡 Metadata does not update the properties of a user or account. # Frontend vs backend The best implementations we see employ a hybrid approach to maximize data quality while maintaining the flexibility to easily collect the data they need. We recommend using our JavaScript snippet to track screen views and our backend API to sync users, sync accounts and track events. When evaluating how to track a particular event, we suggest starting with server-side and only use frontend if it's not possible to collect purely server-side. This can be the case if you need to track interactions with your product that don't result in any natural server requests (such as a button click that opens a modal). # Frontend ## Setup 💡 You can find the JavaScript snippet in the website settings in the connections view. Copy the JavaScript snippet and place it in the head or body of your application. The snippet automatically calls `journy("init", { ... })` and `journy("pageview")`. ## Identify user 💡 A user ID should be a robust, static, unique identifier that you recognize a user by in your own systems. Because these IDs are consistent across a customer’s lifetime, you should include a user ID in identify calls as oft.

Developer documentation is a business API from journy.io. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 16 endpoints.

## At a glance

- Category: [Business](https://www.openparable.com/apis/category/business)
- Provider: journy.io
- Authentication: None (no API key)
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://api.journy.io
- Documentation: https://help.journy.io/
- OpenAPI description: https://api.apis.guru/v2/specs/journy.io/1.0.0/openapi.json
- Version: 1.0.0
- Specification updated: 2023-03-06

## Example request

```bash
curl -X GET "https://api.journy.io/events" \
  -H "Accept: application/json"
```

## Endpoints

- `DELETE /accounts` — Delete account
- `POST /accounts/upsert` — Create or update account
- `POST /accounts/users/add` — Add users to an account
- `POST /accounts/users/remove` — Remove user from account
- `GET /events` — Get events
- `POST /events` (deprecated) — Track event
- `POST /link` — Link web activity to user
- `GET /properties/accounts` — Get account properties
- `GET /properties/users` — Get user properties
- `GET /segments/accounts` — Get account segments
- `GET /segments/users` — Get user segments
- `POST /track` — Track event
- `GET /tracking/snippet` — Get snippet for a website
- `DELETE /users` — Delete user
- `POST /users/upsert` — Create or update user
- `GET /validate` — Validate API key

## Questions

### Does the Developer documentation API need an API key?

No. The Developer documentation API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

### Does the Developer documentation API support HTTPS?

Yes, the Developer documentation API is served over HTTPS.

### How many endpoints does the Developer documentation API have?

Its OpenAPI description lists 16 endpoints in version 1.0.0. All of them are shown on this page.

### What are alternatives to the Developer documentation API?

Other Business APIs include Gmail, Google Analytics, Apache Superset, Trello, Square.

## Similar business APIs

- [Gmail](https://www.openparable.com/apis/gmail): Flexible, RESTful access to the user's inbox
- [Google Analytics](https://www.openparable.com/apis/google-analytics): Collect, configure and analyze your data to reach the right audience
- [Apache Superset](https://www.openparable.com/apis/apache-superset): API to manage your BI dashboards and data sources on Superset
- [Trello](https://www.openparable.com/apis/trello): Boards, lists and cards to help you organize and prioritize your projects
- [Square](https://www.openparable.com/apis/square): Easy way to take payments, manage refunds, and help customers checkout online
- [Mailchimp](https://www.openparable.com/apis/mailchimp): Send marketing campaigns and transactional mails
- [Braze Endpoints](https://www.openparable.com/apis/braze-endpoints): # Braze API Overview Braze provides a high performance REST API to allow you to track users, send messages, export data, and more. A REST API is a way to programmatically transfer information over the web using a predefined schema. Braze has created many different endpoints with specific requirements that will perform various actions and/or return various data. API access is done using HTTPS web requests to your company's REST API endpoint (this will correspond to your Dashboard URL as shown in the table below). Customers using Braze's EU database should use `https://rest.fra-01.braze.eu/`. For more information on REST API endpoints for customers using Braze's EU database see our [EU/US Implementation Differences documentation](https://www.braze.com/docs/developer_guide/eu01_us3_sdk_implementation_differences/overview/). ## Braze Instances Instance | Dashboard URL | REST Endpoint ----------- |---------------- | -------------------- US-01 | `https://dashboard.braze.com` or<br> `https://dashboard-01.braze.com` | `https://rest.iad-01.braze.com` US-02 | `https://dashboard-02.braze.com` | `https://rest.iad-02.braze.com` US-03 | `https://dashboard-03.braze.com` | `https://rest.iad-03.braze.com` US-04 | `https://dashboard-04.braze.com` | `https://rest.iad-04.braze.com` US-06 | `https://dashboard-06.braze.com` | `https://rest.iad-06.braze.com` EU-01 | `https://dashboard.braze.eu` or<br> `https://dashboard-01.braze.eu` | `https://rest.fra-01.braze.eu` # Using Braze's Postman Collection If you have a Postman account (MacOS, Windows, and Linux versions can be downloaded from their website located [here](https://www.getpostman.com)), you can go to our Postman documentation and click the orange `Run in Postman` button in the top, right corner. This will allow you to [create an environment](#setting-up-your-postman-environment), as well as edit the available `POST` and `GET` requests to suit your own needs. ## Setting Up Your Postman Environment The Braze Postman Collection uses a templating variable, `{{instance_url}}`, to substitute the REST API URL of your Braze instance into the pre-built requests. Rather than having to manually edit all requests in the Collection, you can set up this variable in your Postman environment. To do so, please follow the steps below: 1. Click on the gear icon in the top right corner of the Postman app. 2. Select "Manage Environments" to open a modal window which displays your active environments. 3. In the bottom right corner of the modal window, click "Add" to create a new environment. 4. Give this environment a name (e.g. "Braze API Requests") and add keys for `instance_url` and `api_key` with values corresponding to [your Braze instance](https://www.braze.com/docs/api/basics/#endpoints) and [Braze REST API Key](https://www.braze.com/docs/api/basics/#app-group-rest-api-keys), as pictured below. As of April, 2020 Braze has changed how we read App Group API keys. Instead of passing them in the request body or through url parameters, we now read the App Group Rest`api_key` through the HTTP Authorization header. API keys not passed through the HTTP Authorization Header will coninue to work until they have been sunset. ## Using the Pre-Built Requests from the Collection Once you have configured your environment. You can use any of the pre-built requests in the collection as a template for building new API requests. To start using one of the pre-built requests, simply click on it within the 'Collections' menu on the left side of Postman. This will open the request as a new tab in the main window of the Postman app. In general, there are two types of requests that Braze's API endpoints accept - `GET` and `POST`. Depending on which `HTTP` method the endpoint uses, you'll need to edit the pre-built request differently. ### Edit a POST Request When editing a `POST` request, you'll need to open the request and navigate to the `Body` section in the request editor. For readability, select the `raw` radio button to form
- [Freelancer](https://www.openparable.com/apis/freelancer): Hire freelancers to get work done
- [mailjet](https://www.openparable.com/apis/mailjet): Marketing email can be sent and mail templates made in MJML or HTML can be sent using API
- [Instatus](https://www.openparable.com/apis/instatus): Post to and update maintenance and incidents on your status page through an HTTP REST API
- [Mist API](https://www.openparable.com/apis/mist): > Version: **0.36.1** > > Date: **March 3, 2022** --- #### Available Documentation * [Postman](https://documenter.getpostman.com/view/224925/SzYgQufe) * [Open API](https://doc.mist-lab.fr/) --- #### Useful links * [Mist Homepage](https://www.mist.com) * [Mist Documentation](https://www.mist.com/documentation) * [Official API Documentation](https://api.mist.com/api/v1/docs/Home) (Mist account required) * [Mist Blog](https://www.mist.com/news/?md_post_type=post) * [Mist Updates](https://www.mist.com/documentation/category/product-updates/)
- [SalesLoft Platform](https://www.openparable.com/apis/salesloft-platform): SalesLoft helps transform sales teams into modern sales organizations - converting more target accounts into customer accounts

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/developer-documentation (OpenParable). Cite the canonical URL above.
