All URIs are relative to https://api.sendinblue.com/v3
| Method | HTTP request | Description |
|---|---|---|
| CreateAttribute | Post /contacts/attributes/{attributeCategory}/{attributeName} | Create contact attribute |
| DeleteAttribute | Delete /contacts/attributes/{attributeCategory}/{attributeName} | Delete an attribute |
| GetAttributes | Get /contacts/attributes | List all attributes |
| UpdateAttribute | Put /contacts/attributes/{attributeCategory}/{attributeName} | Update contact attribute |
CreateAttribute(ctx, attributeCategory, attributeName, createAttribute) Create contact attribute
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| attributeCategory | string | Category of the attribute | |
| attributeName | string | Name of the attribute | |
| createAttribute | CreateAttribute | Values to create an attribute |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteAttribute(ctx, attributeCategory, attributeName) Delete an attribute
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| attributeCategory | string | Category of the attribute | |
| attributeName | string | Name of the existing attribute |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAttributes GetAttributes(ctx, ) List all attributes
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateAttribute(ctx, attributeCategory, attributeName, updateAttribute) Update contact attribute
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| attributeCategory | string | Category of the attribute | |
| attributeName | string | Name of the existing attribute | |
| updateAttribute | UpdateAttribute | Values to update an attribute |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]