Deep Link format

You can deep link to a composer action at this URL:

https://warpcast.com/~/composer-action?url=<url encoded composer action URL>

For example, to load Flappycaster, click the link below:

https://warpcast.com/~/composer-action?url=https%3A%2F%2Fflappycaster.com%2Fapi%2Fcomposer

Screenshot 2024-09-24 at 10.28.40 AM.png

Composer actions load as a full screen on mobile and a modal on web.

IMG_6762.PNG

To load your action in the bottom sheet at 75% height rather than as a full screen, add a view=prompt parameter to the deep link:

https://warpcast.com/~/composer-action?url=https%3A%2F%2Fflappycaster.com%2Fapi%2Fcomposer&view=prompt

IMG_6763.PNG

Linking from frame buttons

You can deep link into a composer action from a frame, using the link button type. If your frame displays a single deep link button, it will show a special purple CTA:

IMG_6764 2.PNG

If your frame displays more than one button, deep links will render as standard frame buttons:

Screenshot 2024-09-24 at 11.05.08.jpeg

Passing URL parameters

To pass data through to your action handler, you can add URL parameters to your initial action handler URL and include them in the URL-encoded deep link url query parameter. For example:

Action URL: https://flappycaster.com/api/composer

Action URL with extra params: https://flappycaster.com/api/composer?huh=wut&lmao=rofl

URL-encoded: https%3A%2F%2Fflappycaster.com%2Fapi%2Fcomposer%3Fhuh%3Dwut%26lmao%3Drofl

Full deep link: https://warpcast.com/~/composer-action?url=https%3A%2F%2Fflappycaster.com%2Fapi%2Fcomposer%3Fhuh%3Dwut%26lmao%3Drofl

Just like a cast action, Warpcast will POST an initial Frame message to your action URL, including the query params.

Allowlisting

Deep links are only enabled for published composer actions. For now, even mini-apps must be implemented as “composer actions,” but we can optionally hide them from discovery pages. If you need your action published, please follow the instructions here and reach out to horsefacts.

Limitations