All URIs are relative to https://api.sendinblue.com/v3
| Method | HTTP request | Description |
|---|---|---|
| CreateSender | Post /senders | Create a new sender |
| DeleteSender | Delete /senders/{senderId} | Delete a sender |
| GetIps | Get /senders/ips | Get all the dedicated IPs for your account |
| GetIpsFromSender | Get /senders/{senderId}/ips | Get all the dedicated IPs for a sender |
| GetSenders | Get /senders | Get the list of all your senders |
| UpdateSender | Put /senders/{senderId} | Update a sender |
CreateSenderModel CreateSender(ctx, optional) Create a new sender
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| optional | *CreateSenderOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CreateSenderOpts struct
| Name | Type | Description | Notes |
|---|---|---|---|
| sender | optional.Interface of CreateSender | sender's name |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteSender(ctx, senderId) Delete a sender
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| senderId | int64 | Id of the sender |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetIps GetIps(ctx, ) Get all the dedicated IPs for your account
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]
GetIpsFromSender GetIpsFromSender(ctx, senderId) Get all the dedicated IPs for a sender
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| senderId | int64 | Id of the sender |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetSendersList GetSenders(ctx, optional) Get the list of all your senders
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| optional | *GetSendersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetSendersOpts struct
| Name | Type | Description | Notes |
|---|---|---|---|
| ip | optional.String | Filter your senders for a specific ip (available for dedicated IP usage only) | |
| domain | optional.String | Filter your senders for a specific domain |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateSender(ctx, senderId, optional) Update a sender
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| senderId | int64 | Id of the sender | |
| optional | *UpdateSenderOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a UpdateSenderOpts struct
| Name | Type | Description | Notes |
|---|
sender | optional.Interface of UpdateSender| sender's name |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]