v1

latestOpenAPI 3.0.02026-07-2466275257.1 KB
CreativeAssets

Retrieve file URL

Retrieve the URL for a team or user logo using the specified file ID.

post/v2/retrieve-file-url

Request body

Example request

{
  "fileUrl": {
    "fileId": "1ceee624-7c87-4e98-9995-042da2a32525",
    "teamId": "Team-101",
    "managerTeamId": "manager_team_67890"
  }
}

Response

The details of the fetched Image

fileIdstring

The unique ID of the file for which the URL is retrieved.

publicUrlstring

The public URL of the file corresponding to the given file ID.

expiryinteger

The number of seconds until the public URL link expires. The default expiration time is 3600 seconds.

Example response

{
  "fileId": "1ceee624-7c87-4e98-9995-042da2a32525",
  "publicUrl": "https://storage.googleapis.com/user_logo/.../path-to-public-image",
  "expiry": 3600
}