Skip to content

Latest commit

 

History

History
186 lines (120 loc) · 6.32 KB

SendersApi.md

File metadata and controls

186 lines (120 loc) · 6.32 KB

sib_api_v3_sdk.SendersApi

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

CreateSender

CreateSenderModel CreateSender(ctx, optional) Create a new sender

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *SendersApiCreateSenderOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SendersApiCreateSenderOpts struct

Name Type Description Notes
body optional.Interface of CreateSender sender's name

Return type

CreateSenderModel

Authorization

api-key, partner-key

HTTP request headers

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

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

DeleteSender

DeleteSender(ctx, senderId) Delete a sender

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
senderId int64 Id of the sender

Return type

(empty response body)

Authorization

api-key, partner-key

HTTP request headers

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

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

GetIps

GetIps GetIps(ctx, ) Get all the dedicated IPs for your account

Required Parameters

This endpoint does not need any parameter.

Return type

GetIps

Authorization

api-key, partner-key

HTTP request headers

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

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

GetIpsFromSender

GetIpsFromSender GetIpsFromSender(ctx, senderId) Get all the dedicated IPs for a sender

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
senderId int64 Id of the sender

Return type

GetIpsFromSender

Authorization

api-key, partner-key

HTTP request headers

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

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

GetSenders

GetSendersList GetSenders(ctx, optional) Get the list of all your senders

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *SendersApiGetSendersOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SendersApiGetSendersOpts 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

Return type

GetSendersList

Authorization

api-key, partner-key

HTTP request headers

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

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

UpdateSender

UpdateSender(ctx, senderId, optional) Update a sender

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
senderId int64 Id of the sender
optional *SendersApiUpdateSenderOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SendersApiUpdateSenderOpts struct

Name Type Description Notes

body | optional.Interface of UpdateSender| sender's name |

Return type

(empty response body)

Authorization

api-key, partner-key

HTTP request headers

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

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