All URIs are relative to https://api.sendinblue.com/v3
Method | HTTP request | Description |
---|---|---|
CorporateMasterAccountGet | Get /corporate/masterAccount | Get the details of requested master account |
CorporateSubAccountGet | Get /corporate/subAccount | Get the list of all the sub-accounts of the master account. |
CorporateSubAccountIdDelete | Delete /corporate/subAccount/{id} | Delete a sub-account |
CorporateSubAccountIdGet | Get /corporate/subAccount/{id} | Get sub-account details |
CorporateSubAccountIdPlanPut | Put /corporate/subAccount/{id}/plan | Update sub-account plan |
CorporateSubAccountKeyPost | Post /corporate/subAccount/key | Create an API key for a sub-account |
CorporateSubAccountPost | Post /corporate/subAccount | Create a new sub-account under a master account. |
CorporateSubAccountSsoTokenPost | Post /corporate/subAccount/ssoToken | Generate SSO token to access Sendinblue |
MasterDetailsResponse CorporateMasterAccountGet(ctx, ) Get the details of requested master account
This endpoint will provide the details of the master 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]
SubAccountsResponse CorporateSubAccountGet(ctx, offset, limit) Get the list of all the sub-accounts of the master account.
This endpoint will provide the list all the sub-accounts of the master account.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
offset | int32 | Index of the first sub-account in the page | |
limit | int32 | Number of sub-accounts to be displayed on each page |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CorporateSubAccountIdDelete(ctx, id) Delete a sub-account
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int64 | Id of the sub-account organization to be deleted |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SubAccountDetailsResponse CorporateSubAccountIdGet(ctx, id) Get sub-account details
This endpoint will provide the details for the specified sub-account company
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int64 | Id of the sub-account organization |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CorporateSubAccountIdPlanPut(ctx, id, updatePlanDetails) Update sub-account plan
This endpoint will update the sub-account plan
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int64 | Id of the sub-account organization | |
updatePlanDetails | SubAccountUpdatePlanRequest | Values to update a sub-account plan |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateApiKeyResponse CorporateSubAccountKeyPost(ctx, createApiKeyRequest) Create an API key for a sub-account
This endpoint will generate an API v3 key for a sub account
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
createApiKeyRequest | CreateApiKeyRequest | Values to generate API key for sub-account |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateSubAccountResponse CorporateSubAccountPost(ctx, subAccountCreate) Create a new sub-account under a master account.
This endpoint will create a new sub-account under a master account
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
subAccountCreate | CreateSubAccount | values to create new sub-account |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetSsoToken CorporateSubAccountSsoTokenPost(ctx, ssoTokenRequest) Generate SSO token to access Sendinblue
This endpoint generates an sso token to authenticate and access a sub-account of the master using the account endpoint https://account-app.sendinblue.com/account/login/sub-account/sso/[token], where [token] will be replaced by the actual token.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
ssoTokenRequest | SsoTokenRequest | Values to generate SSO token for sub-account |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]