Get sticker packs
GET
/api/stickers/packs
const url = 'http://localhost:3001/api/stickers/packs';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3001/api/stickers/packs \ --header 'Authorization: <Authorization>'Retrieve all available sticker packs
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
object
message
string
sticker_packs
Array<object>
object
created_at
string
creator_address
string
id
string
name
string
sticker_count
integer
stickers
Array<object>
object
chunk_id
MeshStorage chunk ID
integer
created_at
string
id
string
mime_type
string
pack_id
string
success
boolean
Examplegenerated
{ "message": "example", "sticker_packs": [ { "created_at": "example", "creator_address": "example", "id": "example", "name": "example", "sticker_count": 1, "stickers": [ { "chunk_id": 1, "created_at": "example", "id": "example", "mime_type": "example", "pack_id": "example" } ] } ], "success": true}Internal Server Error
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}