Bot is allowed — every endpoint on this page accepts bot authentication via the
Authorization: <user_id> <token> header. See the Bots guide.GIFs in Clody are powered by Giphy. All results are filtered to a PG-13 rating and sourced from the
messaging_non_clips bundle, which excludes video clips and keeps responses lightweight.Endpoints
Search GIFs — POST /api/gifs/search
Searches Giphy for animated GIFs matching your query. Returns up to 24 results. If you omit the query or send an empty string, the endpoint returns the current Giphy trending feed instead — great for the default state of your GIF picker.
Request body
string
Search query, e.g.
"celebration". Omit this field or pass an empty string to retrieve trending GIFs.200 — array of GIF objects.
string
Giphy’s unique identifier for the GIF.
string
URL of a small, lower-resolution version suitable for grid thumbnails and previews.
string
URL of the full-quality GIF. Pass this value to
POST /api/cdn/benches/gif to attach it to a message.Attaching a GIF to a Branch Message
Once you have picked a GIF from the search results, attach it to a message in two steps. Step 1 — Register the GIF with the CDNfilename in the cdn array of your POST /api/bm/create request body alongside any other attachments.