All URIs are relative to https://api.attio.com
| Method | HTTP request | Description |
|---|---|---|
| V2SelfGet | Get /v2/self | Identify |
V2SelfGet200Response V2SelfGet(ctx).Execute()
Identify
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)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiV2SelfGetRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]