Go SDK API Documentation

Authentication

All API calls require an API key. You can obtain your API key from the Account Dashboard.

Get User Profile

Retrieves the user's profile information.

GET /users/{userId}

Example:

GET /users/123

Data Operations

This section covers the operations for managing data.

Create New Record

Creates a new record in the system.

POST /records

Request Body:

{ "type": "string", "value": "string value" }

Response (Success):

{ "id": "unique_id", "status": "created" }

Retrieve Records

Retrieves records based on specified criteria.

GET /records

Query Parameters:

  • type: The type of record to retrieve.
  • limit: The maximum number of records to return (default: 25).

Response (Success):

{ "records": [ { "id": "id1", "type": "type1", "value": "value1" }, { "id": "id2", "type": "type2", "value": "value2" } ] }