At a glance
Before you call
Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in anAuthorization header: Authorization: Bearer $ACCESS_TOKEN.
Things to know
- Writes are wrapped in
action_script.nameis required and unique, and one script comes back underaction_script. - Code is sent as a base64
.jsfile. Put the file inscript_file, with its contents base64 encoded incontent. A script stored without one holds no code. - Action script ids start with
ascr_. - An update refuses unknown keys.
- Listings page by cursor. Records sit under
data; passpagination.next_cursorascursorto read the next page, and stop whenpagination.has_moreisfalse.