Servers

Create a server

Adds a server to the account with its default transactional stream and its first key, whose value is answered this once. A server holds up to two live keys, so a second can be created before the first is revoked. Names are unique within the account, and the account holds up to its cap of servers.

post/v1/servers

Request

  • Base URL: https://api.sendora.se
  • URL: https://api.sendora.se/v1/servers
  • Auth: HTTP bearer

Request body

namestring required

1 to 100 characters.

mode'live' | 'test'

live unless told otherwise. A test server’s keys start sk_test_, and addresses at simulator.sendora.se act out a delivery, a bounce, a deferral or a complaint on it.

Response

The new server with its first key, its value shown this once.

serverIdstring uuid required

The id every server key, stream and message of the server refers to.

namestring required

The name given at creation, unique within the account.

mode'live' | 'test' required

live delivers; test goes through everything but delivery, so nothing reaches a recipient. Fixed when the server is created.

createdAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.