Marvia API
HomeLink
Multiple Menus
  • Link1
  • Link2
HomeLink
Multiple Menus
  • Link1
  • Link2
  1. Authentication
  • Getting Started
  • About Marvia
  • Get API Key
  • API Reference
    • Authentication
      • Create a new access token and refresh token with credentials
        POST
      • Create a new access token and refresh token with a refresh token
        POST
      • DEPRECATED: Create a new access token and refresh token
        POST
      • Deletes the access token and refresh token
        DELETE
    • Branches
      • Get all branches
      • Find branch by UUID
    • Categories
      • get_app_api_categories
    • File previews
      • Create file previews
    • File previews async
      • Create file previews asynchronous
    • Locations
      • Get all locations
      • Find location by UUID
    • DAM
      • get_app_api_media
      • get_app_api_media_versions
      • get_app_api_media_download
      • post_app_api_media_save_upload
      • post_app_api_media_save_upload_version
    • Modules
      • get_app_api_modules_get_all
    • Template Studio
      • post_app_api_template_manager_finalise
    • Uploads
      • post_app_api_upload_init
      • post_app_api_upload_finalise
      • get_app_api_upload_poll
      • post_app_api_upload_preview
    • Users
      • get_app_api_users_get_all
      • get_app_api_users_me_get
      • get_app_api_users_get
  1. Authentication

DEPRECATED: Create a new access token and refresh token

Deprecated
POST
/api/tokens
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/tokens' \
--header 'Content-Type: application/json' \
--data-raw '{
    "grant-type": "credentials",
    "client-id": "string",
    "client-secret": "string",
    "refresh-token": "string",
    "sub-domain": "string",
    "domain": "string",
    "username": "string",
    "password": "string"
}'
Response Response Example
200 - Example 1
{
    "access-token": "string",
    "refresh-token": "string"
}

Request

Body Params application/json

Examples

Responses

🟢200OK
application/json
OK
Body

🟠401Unauthorized
Modified at 2025-05-19 09:44:25
Previous
Create a new access token and refresh token with a refresh token
Next
Deletes the access token and refresh token
Built with