Skip to main content

Request an access token for the File belonging to the Conversation

GET/conversations/{conversationId}/files/{fileId}/access-token/
v2
GET
conversation-get-file-access-token

Request

  • conversationIdstring (uuid)
    required
  • fileIdstring (uuid)
    required

Responses

application/json

The file access token required to access the file linked with the conversation.

  • accessTokenstring
    required
  • expiresAtstring (date-time)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/conversations/f0f86186-0a5a-45b2-aa33-502777496347/files/f0f86186-0a5a-45b2-aa33-502777496347/access-token