Skip to main content
Table of contents

What is Plecto API?

The Plecto API allows developers to create a custom advanced integration that enables other software to communicate with our platform and export their data to Plecto.


The authentication scheme used for the Plecto API is Basic Authentication. This authentication scheme includes sending your username (email) and password along with the request.

We recommend you to create a new user (new employee profile) per integration in your Plecto organization – this way, you'll avoid sharing the same password across integrations.

To create a new employee profile, go to Organization > Employees > + New employee.

The user must have access to the relevant areas of Plecto to succeed with most API endpoints. If you have access to advanced permission management, you can create a specific permission profile for the user account. We always recommend to create a user with the minimum required level of access for the purpose of your integration.


Plecto API has the following base URL:

This URL is the basis for all endpoints of the Plecto API. If you are logged into your Plecto account, you can see the list of API endpoints directly in the browser.

How to create an API data source

Go to Data management > Data sources+ New data source > Plecto API.

From there, you can customize your data source settings, add fields (optional), and see example API integration code in Python, Ruby, PHP, and C#.

Use POST method

To send data to the Plecto API, you need to choose an endpoint and use the POST method.

A POST request allows you to send information in the request body. The request body contains all the relevant data that allow to create or update a registration.

Mandatory keys and the request body

There are 3 mandatory keys that must be included in the request body for every request that you send. The keys are the following:

  1. data_source,

  2. member (or member_api_provider, member_api_id, and member_name), and

  3. external_id.



The data_source key requires your data source's UUID.

The UUID is an alphanumerical string that you can find in the URL when you open a data source.


Choose one or the other


Using member UUID requires to have an existing employee profile in Plecto.

To find the member UUID, go to Organization > Employees and click on a name. You'll see the UUID in the URL.




With this option, Plecto might create new employee profiles when you send the data, and the employee will continue to be managed by your system.

  • member_api_provider refers to the name of your system. In the image below, the displayed system name is Postman.

  • member_api_id refers to the member ID of your system. In Plecto, it is displayed under the External ID field. In the image below, 101032 represents the member_api_id. The member_api_provider and member_api_id together identify an employee in Plecto.

  • member_name is the name of the member. This name will be displayed in the Employee field in your Plecto data source and can be updated, provided that you use the same member_api_provider and member_api_id values.



The external_id is a number or a string of characters that has to be unique for each registration. It could be something like 123, abc or anything you can think of. This is important as it will be the reference of the created registration. The external ID values in your request body are displayed in the "ID" field in your Plecto data source.

Naming conventions – don't get confused!

The member_api_id key in your request body represents the External ID shown in the employee profile in Plecto, and the external_id key represents the Registration ID in a Plecto data source.

If you want to assign multiple registrations to the same user, you can use the same member_api_id. However, the external_id key needs to be different for each registration, unless you want to overwrite an existing registration with new data.

How to update existing data

  • The data_source and external_id identify a registration in a data source in Plecto. The external_id represents the registration ID in Plecto. If you want to update the registration values, send a request using the same data_source and external_id keys but change the field values.

  • The member_api_provider and member_api_id identify an employee in Plecto. If you want to update the employee name, you can send the same request but change the member_name value from, for example, "Employee X" to "Curtis Miller."

  • You can send a date field to Plecto (optional). It will show in the Created date field in your data source. Whenever you send a registration, Plecto automatically adds the current date and time to it. If you want to update a registration but keep the original date and time, add the following key to your request body: "date": "2022-12-31T10:22:55"

Basic example

Let's send new registrations to a Plecto data source!

  • The request to create a registration in a data source has to use the URL for the registrations endpoint, which is the following:

  • The POST request body must include the mandatory keys plus a key called "Value," since the data source in Plecto has a custom field added to it called Value.

If the authentication passes and the request is correct, Plecto will accept the registration and return a successful response. In the response, the "id" is the UUID of the newly-created or updated registration in Plecto.

Bulk insertion

The Plecto API supports sending a list of registrations in a single request body. However, the API also enforces a limit of 100 registrations you can send in a single request.

Above is an example of what a request body could look like.