Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 1.43 KB

File metadata and controls

70 lines (43 loc) · 1.43 KB

\MetaAPI

All URIs are relative to https://api.attio.com

Method HTTP request Description
V2SelfGet Get /v2/self Identify

V2SelfGet

V2SelfGet200Response V2SelfGet(ctx).Execute()

Identify

Example

package main

import (
	"context"
	"fmt"
	"os"
	libattio "github.com/sid6mathur/libattio"
)

func main() {

	configuration := libattio.NewConfiguration()
	apiClient := libattio.NewAPIClient(configuration)
	resp, r, err := apiClient.MetaAPI.V2SelfGet(context.Background()).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `MetaAPI.V2SelfGet``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `V2SelfGet`: V2SelfGet200Response
	fmt.Fprintf(os.Stdout, "Response from `MetaAPI.V2SelfGet`: %v\n", resp)
}

Path Parameters

This endpoint does not need any parameter.

Other Parameters

Other parameters are passed through a pointer to a apiV2SelfGetRequest struct via the builder pattern

Return type

V2SelfGet200Response

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]