-
Notifications
You must be signed in to change notification settings - Fork 0
Connect SendDrop
Establishes a connection to the SendDrop API using a Bearer Token.
Connect-SendDrop [[-Token] <Object>] [-Force] [[-APIuri] <String>]
[<CommonParameters>]
The Connect-SendDrop function authenticates with the SendDrop API by storing the provided Bearer Token for use in subsequent API calls. If no token is provided, the function will prompt the user to enter it.
The Bearer Token is stored securely in memory for the duration of the PowerShell session.
Connect-SendDrop -Token "your-bearer-token-here" -APIuri "https://custom-api.senddrop.dev"
Connects to a custom SendDrop API endpoint using the specified Bearer Token.
Connect-SendDrop
Prompts for the Bearer Token and connects to SendDrop.
The base URI for the SendDrop API. Defaults to "https://api.senddrop.dev".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: Https://api.senddrop.com/api/v1
Accept pipeline input: False
Accept wildcard characters: FalseForce reconnection even if already connected.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThe Bearer Token to use for authentication with the SendDrop API. If not provided, the function will prompt for it interactively.
Type: Object
Parameter Sets: (All)
Aliases: BearerToken, APIkey
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
The Bearer Token is stored in a script-level variable and will persist for the current PowerShell session. To disconnect, restart PowerShell or call this function with a different token.
Last updated: 2026-04-12T21:37:58Z Version: 0.4.1
- Connect-SendDrop
- Disconnect-SendDrop
- Invoke-SendDropAPICall
- Brands
- Shipments