REST API
Last updated
Last updated
The API is available to all users in the Enterprise plan. If you're interested in testing the API or trialing Enterprise, reach out to our sales team (sales@arcade.software).
The Arcade API is actively being developed and subject to changes. Only a subset of what’s possible in the app is covered by the API. Let us know which features you want to see on the API first!
First, you need to generate an API key from your Arcade team settings. You can do that in the Advanced section.
From there, you can include this API key in the authorization
header to all the requests you make to api.arcade.software
, like so:
Method: POST
URL: https://api.arcade.software/generate-upload-url
Headers:
authorization
content-type: application/json
Body:
Response:
Method: PUT
URL: The uploadUrl
from the previous step
Headers:
content-type: video/webm
(content type specified at step 1)
Body: the video (binary payload)
Method: POST
URL: https://api.arcade.software/arcades
Headers:
authorization
content-type: application/json
Body:
Click events are converted into hotspots, and scroll and type events are hints to whether or not to create a video, so it behaves the same as when recording with the extension.
If the user scrolled or typed between clicks, we'll include a video. Otherwise, it will be only an image step.
Response:
The flow is exactly like the create endpoint above, but instead of POST /arcades
, use the following endpoint:
Method: PUT
URL: https://api.arcade.software/arcades/:id
Headers:
authorization
content-type: application/json
Body: same as create endpoint body