GOSBI CONNECT

DOCS > GENERAL FUNCTIONING

WHAT IS GOSBI CONNECT AND HOW DOES IT WORK?

Gosbi Connect is the commercial name of the GOSBI - API REST. An open web service with the following features:

AUTHENTICATION

To work with the Gosbi API you need an authentication token. If you are an authorised distributor, this token will be provided by the person in charge of your commercial account. If you are an authorised professional (Points of Sale, Veterinarians, Breeders, Shelters, ...), in the Professionals section we explain how to obtain it.

The Gosbi server waits for the authentication token in all API requests. It must be sent in an HTTP header of the request with the name X-Authorization-Id.

SENDING REQUESTS

All API requests must contain the following headers:

Throughout this documentation, the following information will be provided for each request:

General request data:

Description of data to be sent and/or received:

Field Type Description
id int Unique Gosbi product ID
name str Product name

Example using CURL of the request to be sent:



	

RECEIVE SERVER REQUESTS (Webhooks)

Another option provided by the Gosbi API is the possibility of "subscribing" to certain events (from now on Webhooks). In the same way as the previous point, for each available webhook, an example of the request to be received will be documented with a CURL: