GET
/
accounts
/
{account_id}
/
invitations
cURL
curl "https://api.phrase.com/v2/accounts/:account_id/invitations" \
  -u USERNAME_OR_ACCESS_TOKEN
[
  {
    "id": "acbdacbdacbdacbdacbdacbd",
    "email": "foo@bar.com",
    "role": "Manager",
    "state": "accepted",
    "projects": [
      {
        "id": "abcd1234cdef1234abcd1234cdef1234",
        "name": "My Android Project",
        "main_format": "xml",
        "created_at": "2015-01-28T09:52:53Z",
        "updated_at": "2015-01-28T09:52:53Z"
      }
    ],
    "locales": [
      {
        "id": "abcd1234cdef1234abcd1234cdef1234",
        "name": "English",
        "code": "en-GB"
      }
    ],
    "default_locale_codes": [
      "en",
      "de"
    ],
    "permissions": [
      {
        "create_upload": true,
        "review_translations": true
      }
    ],
    "locale_ids": [
      "abcd1234abcd1234abcd1234",
      "abcd1234abcd1234abcd1235"
    ],
    "created_at": "2015-01-28T09:52:53Z",
    "updated_at": "2015-01-28T09:52:53Z",
    "accepted_at": "2015-02-28T09:52:53Z",
    "spaces": [
      {
        "id": "04d36d845576b9d494d05e0b70fe813b",
        "name": "Space2",
        "created_at": "2020-12-07T12:56:21Z",
        "updated_at": "2020-12-07T12:56:21Z",
        "projects_count": 1
      }
    ],
    "teams": [
      {
        "id": "04d36d845576b9d494d05e0b70fe813c",
        "name": "Team 1",
        "created_at": "2020-12-07T12:56:21Z",
        "updated_at": "2020-12-07T12:56:21Z"
      }
    ],
    "project_roles": [
      {
        "project_id": "abcd1234cdef1234abcd1234cdef1234",
        "role": "Developer"
      }
    ]
  }
]

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

200
application/json

OK

The response is of type invitation · object[].