Register new account

Overview

This APIs allows you to register account needed for sending notifications

Scope

Client application must have 'app.conversation.notificationmgr.interaction.manage' scope assigned.

SecurityoAuthClient
Request
Request Body schema: application/json

Create new account

address
required
string [ 1 .. 255 ] characters

Channel address of business, like email address or phone number.

required
Channel (object) or SmsChannel (object)
Array of objects (Attribute) [ 1 .. 10 ] items

Account related attributes.

object (Callbacks)

Account callbacks.

Responses
201

Created

400

Bad Request

401

Unauthorized

500

Internal server error

post/accounts
Request samples
application/json

This example shows how create account for sending out emails.

{
  • "address": "no-reply@egain.cloud",
  • "channel": {
    }
}
Response samples
application/json
{
  • "id": "45a095f4-d0ee-4220-a689-22b541c58f67"
}