Skip to content

Documentation

API Reference

Reference for every visible endpoint, grouped by tag. Endpoints are rendered from the live OpenAPI specification.

get/customer/api/v1/auth/validate

Validate Customer Api Key

Validate a customer credential and return its non-secret context.

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Responses

200Successful Response
responseobject
validbooleandefault: true
api_versionstringdefault: v1
companyobjectrequired
credentialobjectrequired
clientobjectrequired
{
  "valid": true,
  "api_version": "v1",
  "company": {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string"
  },
  "credential": {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "key_prefix": "string",
    "source_type": "wordpress",
    "scopes": [
      "*"
    ],
    "expires_at": "2024-01-01T00:00:00Z"
  },
  "client": {
    "reported_source_type": "string",
    "client_version": "string",
    "installation_id": "string",
    "user_agent": "string",
    "seen_at": "2024-01-01T00:00:00Z",
    "source_matches": true
  }
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/auth/validate' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "valid": true,
  "api_version": "v1",
  "company": {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string"
  },
  "credential": {
    "id": "00000000-0000-0000-0000-000000000000",
    "name": "string",
    "key_prefix": "string",
    "source_type": "wordpress",
    "scopes": [
      "*"
    ],
    "expires_at": "2024-01-01T00:00:00Z"
  },
  "client": {
    "reported_source_type": "string",
    "client_version": "string",
    "installation_id": "string",
    "user_agent": "string",
    "seen_at": "2024-01-01T00:00:00Z",
    "source_matches": true
  }
}
get/customer/api/v1/subscribers/attributes

List Attributes

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Responses

200Successful Response
responsearray<object>
[]object
[
  {
    "name": "string",
    "type": "number",
    "options": [
      "string"
    ],
    "description": "string"
  }
]
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/attributes' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

[
  {
    "name": "string",
    "type": "number",
    "options": [
      "string"
    ],
    "description": "string"
  }
]
post/customer/api/v1/subscribers/attributes

Create Attribute

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Request body

application/jsonrequired
bodyobject
namestringrequired
typestringrequired
numbertextbooldatetimemulti_selectcategorical
optionsarray | null
descriptionstring | null

Responses

201Successful Response
responseobject
namestringrequired
typestringrequired
numbertextbooldatetimemulti_selectcategorical
optionsarray | null
descriptionstring | null
{
  "name": "string",
  "type": "number",
  "options": [
    "string"
  ],
  "description": "string"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request POST \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/attributes' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "string",
    "type": "number",
    "options": [
      "string"
    ],
    "description": "string"
  }'
Response

Successful Response

{
  "name": "string",
  "type": "number",
  "options": [
    "string"
  ],
  "description": "string"
}
post/customer/api/v1/subscribers/attributes/bulk-update

Bulk Update Subscriber Attributes

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Request body

application/jsonrequired
bodyobject
filtersobject

Selection criteria for a bulk attribute update. All fields are optional; omitting every filter targets every subscriber of the company.

attributesobjectrequired

Attribute values to set on every matched subscriber

Responses

200Successful Response
responseobject
{
  "key": "string"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request POST \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/attributes/bulk-update' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "filters": {
      "status": "active",
      "created_from": "2024-01-01T00:00:00Z",
      "updated_from": "2024-01-01T00:00:00Z",
      "attributes": {
        "key": "string"
      }
    },
    "attributes": {
      "key": "string"
    }
  }'
Response

Successful Response

{
  "key": "string"
}
put/customer/api/v1/subscribers/attributes/{attribute_name}

Update Attribute Metadata

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
attribute_namerequiredstring

Request body

application/jsonrequired
bodyobject
descriptionstring | null

Responses

200Successful Response
responseobject
namestringrequired
typestringrequired
numbertextbooldatetimemulti_selectcategorical
optionsarray | null
descriptionstring | null
{
  "name": "string",
  "type": "number",
  "options": [
    "string"
  ],
  "description": "string"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request PUT \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/attributes/string' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "description": "string"
  }'
Response

Successful Response

{
  "name": "string",
  "type": "number",
  "options": [
    "string"
  ],
  "description": "string"
}
delete/customer/api/v1/subscribers/attributes/{attribute_name}

Delete Attribute

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
attribute_namerequiredstring

Responses

200Successful Response
responseobject
{
  "key": "string"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request DELETE \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/attributes/string' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "key": "string"
}
post/customer/api/v1/subscribers/get-by-filters

Get Subscribers By Filters

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Query

NameTypeDescription
page_numberinteger

default: 1

page_sizeinteger

default: 10

Request body

application/jsonrequired
bodyarray<object>
[]object

Responses

200Successful Response
responseobject
total_countintegerrequired
page_numberintegerrequired
page_sizeintegerrequired
dataarray<object>required
{
  "total_count": 0,
  "page_number": 0,
  "page_size": 0,
  "data": [
    {
      "email": "[email protected]",
      "first_name": "string",
      "last_name": "string",
      "phone_number": "string",
      "attributes": {
        "key": "string"
      },
      "sms_phone_excluded_reason": "string",
      "status": "active",
      "mailing_list_ids": [
        "00000000-0000-0000-0000-000000000000"
      ],
      "_id": "string",
      "company_id": "00000000-0000-0000-0000-000000000000",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ]
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request POST \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/get-by-filters?page_number=1&page_size=10' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '[
    {
      "filters": [
        {
          "subscriber_filter_type": "exactly",
          "field": "email",
          "field_type": "number",
          "value": null
        }
      ]
    }
  ]'
Response

Successful Response

{
  "total_count": 0,
  "page_number": 0,
  "page_size": 0,
  "data": [
    {
      "email": "[email protected]",
      "first_name": "string",
      "last_name": "string",
      "phone_number": "string",
      "attributes": {
        "key": "string"
      },
      "sms_phone_excluded_reason": "string",
      "status": "active",
      "mailing_list_ids": [
        "00000000-0000-0000-0000-000000000000"
      ],
      "_id": "string",
      "company_id": "00000000-0000-0000-0000-000000000000",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ]
}
get/customer/api/v1/subscribers/

List Subscribers

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Query

NameTypeDescription
page_numberinteger

Page number

default: 1

page_sizeinteger

Items per page

default: 10

statusstring

default: active

Responses

200Successful Response
responseobject
total_countintegerrequired
page_numberintegerrequired
page_sizeintegerrequired
dataarray<object>required
{
  "total_count": 0,
  "page_number": 0,
  "page_size": 0,
  "data": [
    {
      "email": "[email protected]",
      "first_name": "string",
      "last_name": "string",
      "phone_number": "string",
      "attributes": {
        "key": "string"
      },
      "sms_phone_excluded_reason": "string",
      "status": "active",
      "mailing_list_ids": [
        "00000000-0000-0000-0000-000000000000"
      ],
      "_id": "string",
      "company_id": "00000000-0000-0000-0000-000000000000",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ]
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/?page_number=1&page_size=10&status=active' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "total_count": 0,
  "page_number": 0,
  "page_size": 0,
  "data": [
    {
      "email": "[email protected]",
      "first_name": "string",
      "last_name": "string",
      "phone_number": "string",
      "attributes": {
        "key": "string"
      },
      "sms_phone_excluded_reason": "string",
      "status": "active",
      "mailing_list_ids": [
        "00000000-0000-0000-0000-000000000000"
      ],
      "_id": "string",
      "company_id": "00000000-0000-0000-0000-000000000000",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ]
}
post/customer/api/v1/subscribers/

Create Subscriber

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Request body

application/jsonrequired
bodyobject
emailstring | null
first_namestring | null
last_namestring | null
phone_numberstring | null
attributesobject | null
sms_phone_excluded_reasonstring | null
statusstringdefault: active
activedisabled
created_atstring · date-timedate-time
updated_atstring · date-timedate-time

Responses

200Successful Response
responseobject
emailstring | null
first_namestring | null
last_namestring | null
phone_numberstring | null
attributesobject | null
sms_phone_excluded_reasonstring | null
statusstringdefault: active
activedisabled
mailing_list_idsarray<string>
_idstring · idrequiredid

MongoDB ObjectId for the subscriber

company_idstring · uuidrequireduuid
created_atstring · date-timerequireddate-time
updated_atstring · date-timerequireddate-time
{
  "email": "[email protected]",
  "first_name": "string",
  "last_name": "string",
  "phone_number": "string",
  "attributes": {
    "key": "string"
  },
  "sms_phone_excluded_reason": "string",
  "status": "active",
  "mailing_list_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "_id": "string",
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request POST \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "email": "[email protected]",
    "first_name": "string",
    "last_name": "string",
    "phone_number": "string",
    "attributes": {
      "key": "string"
    },
    "sms_phone_excluded_reason": "string",
    "status": "active",
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z"
  }'
Response

Successful Response

{
  "email": "[email protected]",
  "first_name": "string",
  "last_name": "string",
  "phone_number": "string",
  "attributes": {
    "key": "string"
  },
  "sms_phone_excluded_reason": "string",
  "status": "active",
  "mailing_list_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "_id": "string",
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
get/customer/api/v1/subscribers/{email_or_phone_number}

Get Subscriber

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
email_or_phone_numberrequiredstring

Responses

200Successful Response
responseobject
emailstring | null
first_namestring | null
last_namestring | null
phone_numberstring | null
attributesobject | null
sms_phone_excluded_reasonstring | null
statusstringdefault: active
activedisabled
mailing_list_idsarray<string>
_idstring · idrequiredid

MongoDB ObjectId for the subscriber

company_idstring · uuidrequireduuid
created_atstring · date-timerequireddate-time
updated_atstring · date-timerequireddate-time
{
  "email": "[email protected]",
  "first_name": "string",
  "last_name": "string",
  "phone_number": "string",
  "attributes": {
    "key": "string"
  },
  "sms_phone_excluded_reason": "string",
  "status": "active",
  "mailing_list_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "_id": "string",
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/string' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "email": "[email protected]",
  "first_name": "string",
  "last_name": "string",
  "phone_number": "string",
  "attributes": {
    "key": "string"
  },
  "sms_phone_excluded_reason": "string",
  "status": "active",
  "mailing_list_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "_id": "string",
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
put/customer/api/v1/subscribers/{email_or_phone_number}

Update Subscriber

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
email_or_phone_numberrequiredstring

Request body

application/jsonrequired
bodyobject
emailstring | null
first_namestring | null
last_namestring | null
phone_numberstring | null
mailing_list_idsarray | null
statusstring | nulldefault: active
activedisabled
attributesobject | null
updated_atstring · date-timedate-time

Responses

200Successful Response
responseobject
emailstring | null
first_namestring | null
last_namestring | null
phone_numberstring | null
attributesobject | null
sms_phone_excluded_reasonstring | null
statusstringdefault: active
activedisabled
mailing_list_idsarray<string>
_idstring · idrequiredid

MongoDB ObjectId for the subscriber

company_idstring · uuidrequireduuid
created_atstring · date-timerequireddate-time
updated_atstring · date-timerequireddate-time
{
  "email": "[email protected]",
  "first_name": "string",
  "last_name": "string",
  "phone_number": "string",
  "attributes": {
    "key": "string"
  },
  "sms_phone_excluded_reason": "string",
  "status": "active",
  "mailing_list_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "_id": "string",
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request PUT \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/string' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "email": "[email protected]",
    "first_name": "string",
    "last_name": "string",
    "phone_number": "string",
    "mailing_list_ids": [
      "00000000-0000-0000-0000-000000000000"
    ],
    "status": "active",
    "attributes": {
      "key": "string"
    },
    "updated_at": "2024-01-01T00:00:00Z"
  }'
Response

Successful Response

{
  "email": "[email protected]",
  "first_name": "string",
  "last_name": "string",
  "phone_number": "string",
  "attributes": {
    "key": "string"
  },
  "sms_phone_excluded_reason": "string",
  "status": "active",
  "mailing_list_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "_id": "string",
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
delete/customer/api/v1/subscribers/{email_or_phone_number}

Delete Subscriber

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
email_or_phone_numberrequiredstring

Responses

200Successful Response
responseany
null
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request DELETE \
  --url 'https://api.jupitermail.app/customer/api/v1/subscribers/string' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

null
get/customer/api/v1/campaigns/

List Campaigns

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Query

NameTypeDescription
page_numberinteger

default: 1

page_sizeinteger

default: 10

Responses

200Successful Response
responseobject
total_countintegerrequired
page_numberintegerrequired
page_sizeintegerrequired
dataarray<object>required
{
  "total_count": 0,
  "page_number": 0,
  "page_size": 0,
  "data": [
    {
      "title": "string",
      "sender_name": "string",
      "subject": "string",
      "preview_text": "string",
      "archive": false,
      "unengaged": false,
      "tags": [
        "string"
      ],
      "schedule_time": "2024-01-01T00:00:00Z",
      "sender_id": "00000000-0000-0000-0000-000000000000",
      "email_template_id": "00000000-0000-0000-0000-000000000000",
      "step": "sender",
      "status": "draft",
      "settings": {
        "header": "string",
        "footer": "string",
        "utm_tracking": false,
        "utm_id": false,
        "utm_name": "string",
        "ignore_list": false,
        "unsubscribe_page": false,
        "update_profile_form": "string",
        "tags": [
          "string"
        ],
        "view_template": false,
        "reply_to_email": "[email protected]",
        "reply_to_name": "string",
        "embedded": false,
        "failed_subscribers": [
          "string"
        ],
        "attachment": {
          "filename": "string",
          "file_path": "string",
          "purpose": "library",
          "company_id": "00000000-0000-0000-0000-000000000000",
          "public_url": "string",
          "content_type": "string",
          "template_id": "00000000-0000-0000-0000-000000000000",
          "expires_at": "2024-01-01T00:00:00Z",
          "id": "00000000-0000-0000-0000-000000000000",
          "created_at": "2024-01-01T00:00:00Z",
          "updated_at": "2024-01-01T00:00:00Z",
          "blob_link": "string"
        }
      },
      "schedule_settings": {
        "key": "string"
      },
      "task_ids": [
        "string"
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "company_id": "00000000-0000-0000-0000-000000000000",
      "created_by": null,
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z",
      "template_snapshot": {
        "filename": "string",
        "file_path": "string",
        "purpose": "library",
        "company_id": "00000000-0000-0000-0000-000000000000",
        "public_url": "string",
        "content_type": "string",
        "template_id": "00000000-0000-0000-0000-000000000000",
        "expires_at": "2024-01-01T00:00:00Z",
        "id": "00000000-0000-0000-0000-000000000000",
        "created_at": "2024-01-01T00:00:00Z",
        "updated_at": "2024-01-01T00:00:00Z",
        "blob_link": "string"
      }
    }
  ]
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/campaigns/?page_number=1&page_size=10' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "total_count": 0,
  "page_number": 0,
  "page_size": 0,
  "data": [
    {
      "title": "string",
      "sender_name": "string",
      "subject": "string",
      "preview_text": "string",
      "archive": false,
      "unengaged": false,
      "tags": [
        "string"
      ],
      "schedule_time": "2024-01-01T00:00:00Z",
      "sender_id": "00000000-0000-0000-0000-000000000000",
      "email_template_id": "00000000-0000-0000-0000-000000000000",
      "step": "sender",
      "status": "draft",
      "settings": {
        "header": "string",
        "footer": "string",
        "utm_tracking": false,
        "utm_id": false,
        "utm_name": "string",
        "ignore_list": false,
        "unsubscribe_page": false,
        "update_profile_form": "string",
        "tags": [
          "string"
        ],
        "view_template": false,
        "reply_to_email": "[email protected]",
        "reply_to_name": "string",
        "embedded": false,
        "failed_subscribers": [
          "string"
        ],
        "attachment": {
          "filename": "string",
          "file_path": "string",
          "purpose": "library",
          "company_id": "00000000-0000-0000-0000-000000000000",
          "public_url": "string",
          "content_type": "string",
          "template_id": "00000000-0000-0000-0000-000000000000",
          "expires_at": "2024-01-01T00:00:00Z",
          "id": "00000000-0000-0000-0000-000000000000",
          "created_at": "2024-01-01T00:00:00Z",
          "updated_at": "2024-01-01T00:00:00Z",
          "blob_link": "string"
        }
      },
      "schedule_settings": {
        "key": "string"
      },
      "task_ids": [
        "string"
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "company_id": "00000000-0000-0000-0000-000000000000",
      "created_by": null,
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z",
      "template_snapshot": {
        "filename": "string",
        "file_path": "string",
        "purpose": "library",
        "company_id": "00000000-0000-0000-0000-000000000000",
        "public_url": "string",
        "content_type": "string",
        "template_id": "00000000-0000-0000-0000-000000000000",
        "expires_at": "2024-01-01T00:00:00Z",
        "id": "00000000-0000-0000-0000-000000000000",
        "created_at": "2024-01-01T00:00:00Z",
        "updated_at": "2024-01-01T00:00:00Z",
        "blob_link": "string"
      }
    }
  ]
}
get/customer/api/v1/campaigns/{campaign_id}

Get Campaign

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
campaign_idrequiredstring · uuid

Responses

200Successful Response
responseobject
titlestringrequiredminLength: 4maxLength: 255
sender_namestring | null
subjectstring | null
preview_textstring | null
archivebooleandefault: false
unengagedboolean | nulldefault: false
tagsarray | null
schedule_timestring | null
sender_idstring | null
email_template_idstring | null
stepstring | nulldefault: sender
senderrecipientssubjectdesignsettingsschedule
statusstring | nulldefault: draft
draftscheduledsendingsentfailed
settingsobject | null
schedule_settingsobject | null
task_idsarray | null
idstring · uuidrequireduuid
company_idstring · uuidrequireduuid
created_byanyrequired
created_atstring · date-timerequireddate-time
updated_atstring · date-timerequireddate-time
template_snapshotobject | null
{
  "title": "string",
  "sender_name": "string",
  "subject": "string",
  "preview_text": "string",
  "archive": false,
  "unengaged": false,
  "tags": [
    "string"
  ],
  "schedule_time": "2024-01-01T00:00:00Z",
  "sender_id": "00000000-0000-0000-0000-000000000000",
  "email_template_id": "00000000-0000-0000-0000-000000000000",
  "step": "sender",
  "status": "draft",
  "settings": {
    "header": "string",
    "footer": "string",
    "utm_tracking": false,
    "utm_id": false,
    "utm_name": "string",
    "ignore_list": false,
    "unsubscribe_page": false,
    "update_profile_form": "string",
    "tags": [
      "string"
    ],
    "view_template": false,
    "reply_to_email": "[email protected]",
    "reply_to_name": "string",
    "embedded": false,
    "failed_subscribers": [
      "string"
    ],
    "attachment": {
      "filename": "string",
      "file_path": "string",
      "purpose": "library",
      "company_id": "00000000-0000-0000-0000-000000000000",
      "public_url": "string",
      "content_type": "string",
      "template_id": "00000000-0000-0000-0000-000000000000",
      "expires_at": "2024-01-01T00:00:00Z",
      "id": "00000000-0000-0000-0000-000000000000",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z",
      "blob_link": "string"
    }
  },
  "schedule_settings": {
    "key": "string"
  },
  "task_ids": [
    "string"
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_by": null,
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z",
  "template_snapshot": {
    "filename": "string",
    "file_path": "string",
    "purpose": "library",
    "company_id": "00000000-0000-0000-0000-000000000000",
    "public_url": "string",
    "content_type": "string",
    "template_id": "00000000-0000-0000-0000-000000000000",
    "expires_at": "2024-01-01T00:00:00Z",
    "id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z",
    "blob_link": "string"
  }
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/campaigns/00000000-0000-0000-0000-000000000000' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "title": "string",
  "sender_name": "string",
  "subject": "string",
  "preview_text": "string",
  "archive": false,
  "unengaged": false,
  "tags": [
    "string"
  ],
  "schedule_time": "2024-01-01T00:00:00Z",
  "sender_id": "00000000-0000-0000-0000-000000000000",
  "email_template_id": "00000000-0000-0000-0000-000000000000",
  "step": "sender",
  "status": "draft",
  "settings": {
    "header": "string",
    "footer": "string",
    "utm_tracking": false,
    "utm_id": false,
    "utm_name": "string",
    "ignore_list": false,
    "unsubscribe_page": false,
    "update_profile_form": "string",
    "tags": [
      "string"
    ],
    "view_template": false,
    "reply_to_email": "[email protected]",
    "reply_to_name": "string",
    "embedded": false,
    "failed_subscribers": [
      "string"
    ],
    "attachment": {
      "filename": "string",
      "file_path": "string",
      "purpose": "library",
      "company_id": "00000000-0000-0000-0000-000000000000",
      "public_url": "string",
      "content_type": "string",
      "template_id": "00000000-0000-0000-0000-000000000000",
      "expires_at": "2024-01-01T00:00:00Z",
      "id": "00000000-0000-0000-0000-000000000000",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z",
      "blob_link": "string"
    }
  },
  "schedule_settings": {
    "key": "string"
  },
  "task_ids": [
    "string"
  ],
  "id": "00000000-0000-0000-0000-000000000000",
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_by": null,
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z",
  "template_snapshot": {
    "filename": "string",
    "file_path": "string",
    "purpose": "library",
    "company_id": "00000000-0000-0000-0000-000000000000",
    "public_url": "string",
    "content_type": "string",
    "template_id": "00000000-0000-0000-0000-000000000000",
    "expires_at": "2024-01-01T00:00:00Z",
    "id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z",
    "blob_link": "string"
  }
}
get/customer/api/v1/campaigns/{campaign_id}/analytics

Get Campaign Analytics

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
campaign_idrequiredstring · uuid

Responses

200Successful Response
responseobject
sentinteger | nulldefault: 0
recipientsinteger | nulldefault: 0
queuedinteger | nulldefault: 0
deliveredinteger | nulldefault: 0
openedinteger | nulldefault: 0
clickedinteger | nulldefault: 0
soft_bouncedinteger | nulldefault: 0
hard_bouncedinteger | nulldefault: 0
spam_complaintsinteger | nulldefault: 0
opened_uniqueinteger | nulldefault: 0
clicked_uniqueinteger | nulldefault: 0
unsubscribedinteger | nulldefault: 0
{
  "sent": 0,
  "recipients": 0,
  "queued": 0,
  "delivered": 0,
  "opened": 0,
  "clicked": 0,
  "soft_bounced": 0,
  "hard_bounced": 0,
  "spam_complaints": 0,
  "opened_unique": 0,
  "clicked_unique": 0,
  "unsubscribed": 0
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/campaigns/00000000-0000-0000-0000-000000000000/analytics' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "sent": 0,
  "recipients": 0,
  "queued": 0,
  "delivered": 0,
  "opened": 0,
  "clicked": 0,
  "soft_bounced": 0,
  "hard_bounced": 0,
  "spam_complaints": 0,
  "opened_unique": 0,
  "clicked_unique": 0,
  "unsubscribed": 0
}
get/customer/api/v1/mailing-lists/

List Mailing Lists

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Query

NameTypeDescription
page_numberinteger

default: 1

page_sizeinteger

default: 10

Responses

200Successful Response
responseobject
total_countintegerrequired
page_numberintegerrequired
page_sizeintegerrequired
dataarray<object>required
{
  "total_count": 0,
  "page_number": 0,
  "page_size": 0,
  "data": [
    {
      "name": "string",
      "subscriber_custom_columns": [
        "string"
      ],
      "description": "string",
      "id": "00000000-0000-0000-0000-000000000000",
      "subscribers_count": 0,
      "company_id": "00000000-0000-0000-0000-000000000000",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ]
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/mailing-lists/?page_number=1&page_size=10' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "total_count": 0,
  "page_number": 0,
  "page_size": 0,
  "data": [
    {
      "name": "string",
      "subscriber_custom_columns": [
        "string"
      ],
      "description": "string",
      "id": "00000000-0000-0000-0000-000000000000",
      "subscribers_count": 0,
      "company_id": "00000000-0000-0000-0000-000000000000",
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ]
}
get/customer/api/v1/mailing-lists/{mailing_list_id}

Get Mailing List

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
mailing_list_idrequiredstring · uuid

Responses

200Successful Response
responseobject
namestringrequired
subscriber_custom_columnsarray | null
descriptionstring | null
idstring · uuidrequireduuid
subscribers_countintegerdefault: 0
company_idstring · uuidrequireduuid
created_atstring · date-timerequireddate-time
updated_atstring · date-timerequireddate-time
{
  "name": "string",
  "subscriber_custom_columns": [
    "string"
  ],
  "description": "string",
  "id": "00000000-0000-0000-0000-000000000000",
  "subscribers_count": 0,
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/mailing-lists/00000000-0000-0000-0000-000000000000' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "name": "string",
  "subscriber_custom_columns": [
    "string"
  ],
  "description": "string",
  "id": "00000000-0000-0000-0000-000000000000",
  "subscribers_count": 0,
  "company_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
get/customer/api/v1/mailing-lists/{mailing_list_id}/subscribers

Get Mailing List Subscribers

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
mailing_list_idrequiredstring · uuid

Query

NameTypeDescription
page_numberinteger

default: 1

page_sizeinteger

default: 10

Responses

200Successful Response
responseany
null
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/mailing-lists/00000000-0000-0000-0000-000000000000/subscribers?page_number=1&page_size=10' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

null
post/customer/api/v1/transactional

Send Transactional Email

Queue a single transactional email and return its tracking id.

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Headers

NameTypeDescription
Idempotency-Keystring | null

Request body

application/jsonrequired
bodyobject

Inbound payload for a single transactional send. Body/attachments are forwarded to the send task and are not persisted.

from_emailstring · emailrequiredemail
from_namestring | null
to_emailstring · emailrequiredemail
to_namestring | null
subjectstringrequiredminLength: 1
html_contentstringrequiredminLength: 1
text_contentstring | null
reply_to_emailstring | null
reply_to_namestring | null
attachmentsarray | null

Responses

202Successful Response
responseobject

202 (or idempotent 200) acknowledgement returned by POST.

idstring · uuidrequireduuid
statusstringrequired
queuedsentdeliveredbouncedheldfailed
created_atstring · date-timerequireddate-time
{
  "id": "00000000-0000-0000-0000-000000000000",
  "status": "queued",
  "created_at": "2024-01-01T00:00:00Z"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request POST \
  --url 'https://api.jupitermail.app/customer/api/v1/transactional' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Idempotency-Key: string' \
  --header 'Content-Type: application/json' \
  --data '{
    "from_email": "[email protected]",
    "from_name": "string",
    "to_email": "[email protected]",
    "to_name": "string",
    "subject": "string",
    "html_content": "string",
    "text_content": "string",
    "reply_to_email": "[email protected]",
    "reply_to_name": "string",
    "attachments": [
      {
        "id": "string",
        "filename": "string",
        "content": "string"
      }
    ]
  }'
Response

Successful Response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "status": "queued",
  "created_at": "2024-01-01T00:00:00Z"
}
get/customer/api/v1/transactional/{transactional_email_id}

Get Transactional Email

Return the status record for a transactional send owned by the caller.

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
transactional_email_idrequiredstring · uuid

Responses

200Successful Response
responseobject

Queryable status record returned by GET /{id}.

idstring · uuidrequireduuid
from_emailstringrequired
to_emailstringrequired
subjectstringrequired
statusstringrequired
queuedsentdeliveredbouncedheldfailed
provider_message_idstring | null
error_messagestring | null
opened_countintegerrequired
clicked_countintegerrequired
spam_complaint_countintegerrequired
last_opened_atstring | null
last_clicked_atstring | null
last_spam_complaint_atstring | null
created_atstring · date-timerequireddate-time
updated_atstring · date-timerequireddate-time
{
  "id": "00000000-0000-0000-0000-000000000000",
  "from_email": "string",
  "to_email": "string",
  "subject": "string",
  "status": "queued",
  "provider_message_id": "string",
  "error_message": "string",
  "opened_count": 0,
  "clicked_count": 0,
  "spam_complaint_count": 0,
  "last_opened_at": "2024-01-01T00:00:00Z",
  "last_clicked_at": "2024-01-01T00:00:00Z",
  "last_spam_complaint_at": "2024-01-01T00:00:00Z",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/transactional/00000000-0000-0000-0000-000000000000' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "from_email": "string",
  "to_email": "string",
  "subject": "string",
  "status": "queued",
  "provider_message_id": "string",
  "error_message": "string",
  "opened_count": 0,
  "clicked_count": 0,
  "spam_complaint_count": 0,
  "last_opened_at": "2024-01-01T00:00:00Z",
  "last_clicked_at": "2024-01-01T00:00:00Z",
  "last_spam_complaint_at": "2024-01-01T00:00:00Z",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
post/customer/api/v1/files/smart-template/upload/

Upload Smart Template Image

Upload a transient input asset (brand kit / screenshot / reference). Persists a durable file record; the returned blob_link is a short-lived signed URL. Store file_path, not blob_link, and re-mint via /download-url.

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Request body

multipart/form-datarequired
bodyobject
filestringrequired

Responses

200Successful Response
responseobject
idstring · uuidrequireduuid
file_pathstringrequiredminLength: 1
blob_linkstringrequiredminLength: 1
{
  "id": "00000000-0000-0000-0000-000000000000",
  "file_path": "string",
  "blob_link": "string"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request POST \
  --url 'https://api.jupitermail.app/customer/api/v1/files/smart-template/upload/' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --form 'file=@/path/to/file'
Response

Successful Response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "file_path": "string",
  "blob_link": "string"
}
post/customer/api/v1/files/asset/upload/

Upload Email Asset

Upload a durable email asset. Returned public_url never expires and is safe to embed in sent email HTML.

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Request body

multipart/form-datarequired
bodyobject
filestringrequired
template_idstring | null

Responses

200Successful Response
responseobject

Response for a durable email-asset upload. public_url never expires.

idstring · uuidrequireduuid
file_pathstringrequiredminLength: 1
public_urlstringrequiredminLength: 1
{
  "id": "00000000-0000-0000-0000-000000000000",
  "file_path": "string",
  "public_url": "string"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request POST \
  --url 'https://api.jupitermail.app/customer/api/v1/files/asset/upload/' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --form 'file=@/path/to/file'
Response

Successful Response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "file_path": "string",
  "public_url": "string"
}
post/customer/api/v1/files/download-url/

Refresh Download Url

Mint a fresh signed download URL for a previously uploaded blob path.

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Request body

application/jsonrequired
bodyobject

Re-mint a fresh signed download URL from a stored blob path.

file_pathstringrequiredminLength: 1
expiry_hoursinteger | nulldefault: 24

Responses

200Successful Response
responseobject
file_pathstringrequired
blob_linkstringrequired
{
  "file_path": "string",
  "blob_link": "string"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request POST \
  --url 'https://api.jupitermail.app/customer/api/v1/files/download-url/' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "file_path": "string",
    "expiry_hours": 24
  }'
Response

Successful Response

{
  "file_path": "string",
  "blob_link": "string"
}
get/customer/api/v1/files/template/{template_id}/

List Template Assets

List durable assets owned by a template (company-scoped).

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
template_idrequiredstring · uuid

Responses

200Successful Response
responsearray<object>
[]object
[
  {
    "filename": "string",
    "file_path": "string",
    "purpose": "library",
    "company_id": "00000000-0000-0000-0000-000000000000",
    "public_url": "string",
    "content_type": "string",
    "template_id": "00000000-0000-0000-0000-000000000000",
    "expires_at": "2024-01-01T00:00:00Z",
    "id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z",
    "blob_link": "string"
  }
]
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/files/template/00000000-0000-0000-0000-000000000000/' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

[
  {
    "filename": "string",
    "file_path": "string",
    "purpose": "library",
    "company_id": "00000000-0000-0000-0000-000000000000",
    "public_url": "string",
    "content_type": "string",
    "template_id": "00000000-0000-0000-0000-000000000000",
    "expires_at": "2024-01-01T00:00:00Z",
    "id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z",
    "blob_link": "string"
  }
]
delete/customer/api/v1/files/{file_id}/

Delete File

Delete a file's blob and record after verifying company ownership.

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
file_idrequiredstring · uuid

Responses

200Successful Response
responseobject
{}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request DELETE \
  --url 'https://api.jupitermail.app/customer/api/v1/files/00000000-0000-0000-0000-000000000000/' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{}
post/customer/api/v1/sms/verify

Send Verify Sms

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Headers

NameTypeDescription
Idempotency-Keyrequiredstring

Request body

application/jsonrequired
bodyobject
tostringrequiredminLength: 5maxLength: 30
template_keystringrequiredminLength: 1maxLength: 120
parametersobject

Responses

202Successful Response
responseobject
idstring · uuidrequireduuid
to_e164stringrequired
countrystringrequired
template_keystringrequired
statusstringrequired
queuedaccepteddeliveredfailedunknown
segmentsintegerrequired
provider_message_idstring | nullrequired
accepted_atstring | nullrequired
delivered_atstring | nullrequired
error_codestring | nullrequired
created_atstring · date-timerequireddate-time
updated_atstring · date-timerequireddate-time
{
  "id": "00000000-0000-0000-0000-000000000000",
  "to_e164": "string",
  "country": "string",
  "template_key": "string",
  "status": "queued",
  "segments": 0,
  "provider_message_id": "string",
  "accepted_at": "2024-01-01T00:00:00Z",
  "delivered_at": "2024-01-01T00:00:00Z",
  "error_code": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request POST \
  --url 'https://api.jupitermail.app/customer/api/v1/sms/verify' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --header 'Idempotency-Key: string' \
  --header 'Content-Type: application/json' \
  --data '{
    "to": "string",
    "template_key": "string",
    "parameters": {}
  }'
Response

Successful Response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "to_e164": "string",
  "country": "string",
  "template_key": "string",
  "status": "queued",
  "segments": 0,
  "provider_message_id": "string",
  "accepted_at": "2024-01-01T00:00:00Z",
  "delivered_at": "2024-01-01T00:00:00Z",
  "error_code": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
get/customer/api/v1/sms/messages/{message_id}

Get Sms Message

Authentication

This endpoint requires a bearer token. Send your API key with every request:

Authorization: Bearer <API_KEY>

Parameters

Path

NameTypeDescription
message_idrequiredstring · uuid

Responses

200Successful Response
responseobject
idstring · uuidrequireduuid
to_e164stringrequired
countrystringrequired
template_keystringrequired
statusstringrequired
queuedaccepteddeliveredfailedunknown
segmentsintegerrequired
provider_message_idstring | nullrequired
accepted_atstring | nullrequired
delivered_atstring | nullrequired
error_codestring | nullrequired
created_atstring · date-timerequireddate-time
updated_atstring · date-timerequireddate-time
{
  "id": "00000000-0000-0000-0000-000000000000",
  "to_e164": "string",
  "country": "string",
  "template_key": "string",
  "status": "queued",
  "segments": 0,
  "provider_message_id": "string",
  "accepted_at": "2024-01-01T00:00:00Z",
  "delivered_at": "2024-01-01T00:00:00Z",
  "error_code": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}
422Validation Error
responseobject
detailarray<object>
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
curl --request GET \
  --url 'https://api.jupitermail.app/customer/api/v1/sms/messages/00000000-0000-0000-0000-000000000000' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response

Successful Response

{
  "id": "00000000-0000-0000-0000-000000000000",
  "to_e164": "string",
  "country": "string",
  "template_key": "string",
  "status": "queued",
  "segments": 0,
  "provider_message_id": "string",
  "accepted_at": "2024-01-01T00:00:00Z",
  "delivered_at": "2024-01-01T00:00:00Z",
  "error_code": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z"
}