rsvp API
rsvp
0
Node
Javascript
Python beta
Ruby beta
Shell
Hey! Want to build awesome, scalable APIs like this one?
Sign up with StdLib today and build your own API or connect to others in seconds.
We hope you enjoy documentation for the rsvp rsvp API on StdLib! This API can be used via the command line (shell), Node, Ruby, Python or as a generic HTTP call in any language. Check the code examples on the right associated with each API method for how to use this API in your language of choice.
API Description
No description field found in package.json
The "Add to Slack" landing page for your app. To modify the template, check out /pages/index.ejs.
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Authorization HTML page to grant Slack App OAuth Permission To modify the template, check out /pages/auth.ejs.
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
code
string
Slack-provided authorization code
optional, default value is
null
optional, current value set to
enter a test value
error
string
Slack-provided error
optional, default value is
""
optional, current value set to
enter a test value
Slack Event Handler: This function receives events from Slack and dispatches the appropriate handler. If an event has no subtype, it will invoke /functions/events/TYPE.js or /functions/events/TYPE/__main__.js, otherwise it will invoke /functions/events/TYPE/SUBTYPE.js. You can test individual events from the command line with: $ lib .events.TYPE.SUBTYPE [username] [channel] [text] The "@bg params" line below tells StdLib that when this function is invoked as a background function over HTTP it should just respond with whatever parameters were passed in as a JSON object. (This handles Slack's "challenge" parameter.)
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
message event All events use this template, simply create additional files with different names to add event responses See https://api.slack.com/events-api for more details.
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
user
required
string
The user id of the user that invoked this event (name is usable as well)
current value set to
enter a test value
channel
required
string
The channel id the event was executed in (name is usable as well)
current value set to
enter a test value
text
string
The text contents of the event
optional, default value is
""
optional, current value set to
enter a test value
event
object
The full Slack event object
optional, default value is
{}
optional, current value set to
enter a test value
botToken
string
The bot token for the Slack bot you have activated
optional, default value is
null
optional, current value set to
enter a test value
channel_join event See https://api.slack.com/events-api for more details.
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
user
required
string
The user id of the user that invoked this event (name is usable as well)
current value set to
enter a test value
channel
required
string
The channel id the event was executed in (name is usable as well)
current value set to
enter a test value
text
string
The text contents of the event
optional, default value is
""
optional, current value set to
enter a test value
event
object
The full Slack event object
optional, default value is
{}
optional, current value set to
enter a test value
botToken
string
The bot token for the Slack bot you have activated
optional, default value is
null
optional, current value set to
enter a test value
message event All events use this template, simply create additional files with different names to add event responses See https://api.slack.com/events-api for more details.
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
user
required
string
The user id of the user that invoked this event (name is usable as well)
current value set to
enter a test value
channel
required
string
The channel id the event was executed in (name is usable as well)
current value set to
enter a test value
text
string
The text contents of the event
optional, default value is
""
optional, current value set to
enter a test value
event
object
The full Slack event object
optional, default value is
{}
optional, current value set to
enter a test value
botToken
string
The bot token for the Slack bot you have activated
optional, default value is
null
optional, current value set to
enter a test value
Authenticated   |   Pricing  ·  Free   |   Limit  ·  no rate limit
Unauthenticated   |   Limit  ·  no rate limit
Parameters
key
required
string
(no description)
current value set to
enter a test value
value
required
array
(no description)
current value set to
enter a test value
Made with by the rsvp team with the help of StdLib.