English
Sellsy
Your Sellsy companies, contacts, opportunities and invoices — to create a prospect or an opportunity from an email and react to a new invoice.
A Sellsy connection lets the Sellsy node find or create a company, create a contact or an opportunity, find an invoice and its PDF, and attach an email’s files to a record. It also serves the Sellsy — new record trigger.
The connection holds the client ID and client secret of a Sellsy API v2 access of the Personal type. The server exchanges them for a token (POST https://login.sellsy.com/oauth2/access-tokens, “client credentials” flow, no consent screen) and sends it as Authorization: Bearer to https://api.sellsy.com/v2. The secret is encrypted at rest and never appears in a workflow.
At a glance
- Identifier:
sellsy - Family: Service
- Set up by: A member (personal) or an administrator (shared with the organisation)
- Authentication: API key or token
- Credential type:
service:sellsy - Official API documentation: https://docs.sellsy.com/api/v2/
- API base URL:
https://api.sellsy.com/v2 - Rate limit applied by Loop & Roll: 5 requests per second and per connection; up to 3 attempts on a 429 or a 5xx
- Connection test: Yes
Step by step
The same steps are shown in the connection form of the app.
- In Sellsy, open “Settings”, then “Developer portal” and the “API V2” section.
- Create an API access of type “Personal” and tick the rights on companies, contacts, opportunities, invoices and files.
- Copy the client ID and the client secret, then paste them below. The access acts with the rights of the user who created it.
Connection fields
| Field | Kind | Required | Notes |
|---|---|---|---|
Client ID (clientId) | Text | Yes | |
Client secret (clientSecret) | Secret — never shown again | Yes |
Before you start
- A “Personal” access. Sellsy only allows the client credentials flow for this type of access: any other type will not work.
- The access acts with the rights of the Sellsy user who created it: tick the rights on companies, contacts, opportunities, invoices and files.
Add the connection
- In Sellsy, open Settings → Developer portal → the API V2 section.
- Create an API access of type Personal and tick the rights on companies, contacts, opportunities, invoices and files; copy the client ID and the client secret.
- In Connections, Third-party services section, click Connect on the Sellsy card. Give it a Name, choose the Scope (Personal or Organisation), paste the Client ID and Client secret, then click Create the connection.
- Click Configure, then Test the connection: the token is obtained, then
GET /scopesreads the rights it carries.
To be confirmed on the first test. The Sellsy documentation examples send the token request as JSON; Loop & Roll sends it as a form, the shape the OpenAPI specification declares. If the test fails while the client ID and secret are right, report it to your administrator.
Calls used
| Action | Sellsy call |
|---|---|
| Find a company | POST /companies/search (a read) |
| Create a company | POST /companies |
| Create a contact | POST /contacts |
| Create an opportunity | POST /opportunities; pipelines and steps listed by GET /opportunities/pipelines and GET /opportunities/pipelines/{id}/steps |
| Find an invoice by number | POST /invoices/search, then the PDF through its pdf_link |
| Attach files to a record | POST /{object}/{id}/files (multipart, 15 MB at most per file) |
| Trigger | POST /companies/search, /opportunities/search or /invoices/search, filtered on the creation date |
Pace
Sellsy enforces per-second, per-minute, daily and monthly quotas specific to each account, with no published figure. Loop & Roll sends at most five requests per second per connection.
Common errors
| Message or code | Cause | What to do |
|---|---|---|
Test: “the service rejects the key” (integration.unauthorized) | Client ID or secret refused at the token exchange, or an access that is not of the Personal type. | Check the access type and copy the ID and secret again in Configure. |
integration.rejected | Sellsy refused the request (missing field, invalid value, missing right). | Fix the node settings or the access rights. |
integration.not_found | The record does not exist for this account. | Check the id and the connection chosen. |
integration.rate_limited | Sellsy quota exceeded, after retries. | Transient: the engine resumes the step later. |
integration.unavailable | Network or Sellsy outage, after retries. | Transient: the engine resumes the step later. |
integration.connection_unusable | The connection was deleted, is not active or is out of your scope. | Pick a valid connection in the node. |
Nodes that use this connection
- Sellsy — new record —
trigger.sellsy - Sellsy —
sellsy.api