Pixela API Document

API Document for Pixela ( https://pixe.la/ ) .

PUT - /v1/users/<username>/channels/<channelID>


Update predefined channel settings.

HTTP Method , API endpoint

PUT /v1/users/<username>/channels/<channelID>

Request Header

Key Description
X-USER-TOKEN [required] It is the authentication token specified at the time of user registration.

Request Body

Key Type Description
name string [optional] It is the name of the channel settings.
type string [optional] It is the channel type for notification. Onlyslack is supported.
detail object [optional] Object that specifies the details of the type.
For information about detail for each `type', see below table.

detail when type is slack

Key Type Description
url string [required] Specifies the URL of the incoming webhook created by slack.
userName string [required] The name of the user to be notified by slack when a notification is made.
channelName string [required] The channel name of the slack to be notified.


$ curl -X PUT https://pixe.la/v1/users/a-know/channels/my-channel -H 'X-USER-TOKEN:thisissecret' -d '{"name":"My slack channel","type":"slack","detail":{"url":"https://hooks.slack.com/services/T035DA4QD/B06LMAV40/xxxx","userName":"Pixela Notification","channelName":"pixela-notify"}}'