Skip to main content
GET
/
accounts
/
{account_id}
/
automations
cURL
curl "https://api.phrase.com/v2/accounts/:account_id/automations?page=1&per_page=10" \
  -u USERNAME_OR_ACCESS_TOKEN
[
  {
    "id": "abcd1234cdef1234abcd1234cdef1234",
    "name": "My First Automation",
    "status": "active",
    "trigger": "schedule",
    "status_filters": [
      "unverified",
      "untranslated",
      "ready_for_review"
    ],
    "project_id": "abcd1234cdef1234abcd1234cdef1234",
    "job_template_id": "abcd1234cdef1234abcd1234cdef1234",
    "tags": [
      "tag-1",
      "tag-2"
    ],
    "cron_schedule": "00 13 * * 1,2",
    "time_zone": "GMT",
    "account": "account",
    "created_at": "2021-06-28T09:52:53Z",
    "updated_at": "2021-06-28T09:52:53Z"
  }
]

Authorizations

Authorization
string
header
required

Enter your token in the format token TOKEN

Headers

X-PhraseApp-OTP
string

Two-Factor-Authentication token (optional)

Path Parameters

account_id
string
required

Account ID

Query Parameters

page
integer

Page number

per_page
integer

Limit on the number of objects to be returned, between 1 and 100. 25 by default

Response

OK

id
string
name
string
status
enum<string>
Available options:
inactive,
active,
error
trigger
enum<string>
Available options:
schedule,
upload
status_filters
enum<string>[]

translation key statuses used to filter keys that are added to jobs

Available options:
unverified,
untranslated,
ready_for_review
project_id
string
job_template_id
string
tags
string[]
cron_schedule
string
time_zone
string
account
account · object
Example:
{
"id": "abcd1234",
"name": "Company Account",
"slug": "company_account",
"company": "My Awesome Company",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z",
"company_logo_url": "http://assets.example.com/company_logo.png"
}
created_at
string<date-time>
updated_at
string<date-time>