POST messages

POST /message

Publishes content from a given persona on a given channel to given player(s).

You will need to use GET personas and GET teams to have the required data.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

{
  "persona": "3-49786",
  "channel": "mail",
  "subject": "Great Win",
  "body": "Congrats on securing Conducttr as the season's sponsor!",
  "to": "[email protected]",
  "cc": "[email protected], [email protected]",
  "bcc": "[email protected]
  "sentiment": "positive",
  "team_id": "3437866",
  "type": "team"
}
Name
Type
Description

persona

string

persona_id of the sending persona

player_email

email address

if present then message is sent to the player with that email address

channel

string

which channel the message should be published on

title

string

required for website article

subject

string

message subject (if it has one)

body

string

the message body

to

string

required if to a single person

assets

list of asset objects

see asset object below

sentiment

string

positive I negative I neutral this is for social media

type

string

individual I team

isDraft

boolean

1 or 0

replies

integer

number of comments or replies to post

likes

integer

number of likes

reposts

integer

number of reposts/shares

Asset object

Name
Type
Description

type

string

image I video I audio I document

assetUrl

string

must be URL to the hosted asset

alt

string

description of asset

Response

Last updated

Was this helpful?