Skip to main content
GET
/
integrations
/
external
/
files
/
{id}
Detalhe de arquivo
curl --request GET \
  --url https://api.wegly.com.br/integrations/external/files/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_by": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "avatar": "<string>"
  },
  "crm_lead": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>"
  },
  "crm_deal": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>"
  },
  "crm_delivery": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>",
    "code": 123,
    "status": 123
  },
  "batch": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>"
  },
  "file_url": "<string>",
  "file_name": "<string>",
  "mime_type": "<string>",
  "size": 123,
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Utilize o token de integração no header Authorization: Bearer {token}. O domínio de origem (Origin/Referer) deve respeitar allowed_domain, quando configurado na chave.

Path Parameters

id
string<uuid>
required

UUID do arquivo.

Response

Metadados completos do arquivo solicitado.

id
string<uuid>
created_by
object
crm_lead
object
crm_deal
object
crm_delivery
object
batch
object
file_url
string | null
file_name
string | null
mime_type
string | null
size
integer
created_at
string<date-time>