For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send Photo

This endpoint allows you to send an image popup to a user's CAD from in-game for mugshots, evidence photos, etc.

Send Photo

POST https://api.sonorancad.com/general/send_photo

Request Body

Name
Type
Description

id

string

Your community's ID

key

string

Your community's API Key

type

string

SEND_PHOTO

data

array

Array of request objects

Photo sent!
INVALID REQUEST TYPE
INVALID COMMUNITY ID
API IS NOT ENABLED FOR THIS COMMUNITY
INVALID API KEY
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "SEND_PHOTO",
    "data": [
        {
          "apiId": "STEAM:1234", // User API ID
          "url": "https://example.com/photo.png" // Photo URL
    ]

Last updated

Was this helpful?