Get Started

To begin using the Gattaca API, follow these steps:

1. Authentication

All requests to the API must include an API key provided by the Gattaca team. This key is required for authentication and must be included in the request headers as follows:

Header Parameter:

  • x-api-key Type: String Description: The API key provided by Gattaca Support Team.

Example header for authentication:

x-api-key: your-api-key

2. Content Type

For all POST requests, ensure that the Content-Type header is set to application/json. This ensures that the API processes your request correctly.

Example header for POST requests:

Content-Type: application/json

3. API Endpoints

Gattaca API provides various endpoints for managing accounts, lab orders, and samples. Refer to the specific endpoint documentation for details about request parameters and response formats.

4. Making a Request

Here is an example of a basic GET request to fetch accounts associated with a practitioner:

Endpoint: /v1/accounts/list-by-practitioner Headers:

{
  "x-api-key": "your-api-key"
}

5. Getting Support

If you do not have an API key or encounter issues while using the API, contact the Gattaca Support Team for assistance. They will provide you with the necessary credentials and support.

You're now ready to start integrating with the Gattaca API!

Last updated