SendStreak logo
menu

Create an account

Creates a new account (workspace) owned by the authenticated user, pre-loaded with the same starter data as a dashboard signup: sample email templates, a sample automation, and the default announcement topics.

Endpoint

POST https://api.sendstreak.com/v2/accounts

All v2 endpoints require a bearer token - see Authentication.

Request body

Field Type Required Description
name string yes The account (workspace) name, shown across the dashboard and in team invitations.

Response

The created account.

{
  "_id": "665f0a2b1c9d440012ab34cd",
  "name": "Example name",
  "webhooks": {
    "authType": "basic",
    "events": [
      "message_bounced"
    ],
    "passwordOrToken": "webhook-bearer-token",
    "signingSecret": "whsec_9f8e7d6c5b4a39281706",
    "url": "https://example.com/webhooks/sendstreak",
    "username": "smtp-user"
  }
}

Errors

Status Description
400 The request body or parameters failed validation.
401 Missing or invalid token, or the token is not authorized for this account/user.

See Errors and rate limits for what error responses look like.

Curl example

curl --location --request POST 'https://api.sendstreak.com/v2/accounts' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
  "name": "Example name"
}'
Try SendStreak for Free now!