Edit phrase(s)

Edit 1 or more existing source language phrases for a project.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

You can create and view your API Private Key here.

Try it

To test this endpoint using the Try It feature:

  1. Copy your Localize API Key into the Header field in the AUTHENTICATION section on the right.
  2. Fill in all required fields below, and any optional fields as needed.
  3. Click the Try it button.
  4. View the results and any error returns on the right side of the screen.

Feel free to copy the sample code provided on the right side of the screen into your source code project to get a start on using this endpoint.

Note that using the Try It feature will affect the data in your Localize dashboard!

Path Params
string
required
Defaults to YOUR_PROJECT_KEY

The Project Key (this is NOT the Project ID)

Body Params
phrases
array of objects
required

An array of 1 or more phrase objects to edit (max 500).


Phrase Object Properties:
phrase
String; The updated phrase in the source language.
id or phraseKey*
String; REQUIRED; For each phrase you must specify either the phrase ID or the phraseKey of an existing phrase.
state
String; The desired state of the phrase, defaults to "active".
context
String; Provides your translators with some context for the phrase.
labels
An array of labels (can include "auto-approve").

Click the '+' below to add a phrase that you want to edit.
phrases*
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json