Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Translate
  • Getting started
    • Overview
    • API authentication
  • Access management
  • Pricing policy
  1. API reference
  2. API authentication

Authentication in the API Translate

Written by
Yandex Cloud
Updated at March 28, 2025

Translate's API interface requires you to submit your authentication credentials in each request. The authentication method depends on the type of account used to send your request:

Yandex or federated account
Service account
  1. Get an IAM token to authenticate your Yandex account or federated account. Transmit the token in the Authorization header of each request in the following format:

    Authorization: Bearer <IAM token>
    
  2. Get the ID of any folder for which your account has the ai.translate.user role or higher. Make sure to include your folder ID in the folderId field in the body of each request.

  1. Choose one of the authentication methods:

    • Get an IAM token. Provide the IAM token in the Authorization header in the following format:

      Authorization: Bearer <IAM_token>
      
    • Create an API key. Provide the API key in the Authorization header in the following format:

      Authorization: Api-Key <API_key>
      
  2. Assign the service account the ai.translate.user role or higher for the folder where it was created.

    Do not specify the folder ID in your requests, as the service uses the folder the service account was created in.

See alsoSee also

  • What roles are required for performing operations.

Was the article helpful?

Previous
Overview
Next
Overview
Yandex project
© 2025 Yandex.Cloud LLC