ProZ.com global directory of translation services
The translation workplace
Ideas

POST: /user-list-collaborator

Required authorization scope

When using OAuth2 access tokens, the userlist scope is required to create an entry. See scopes in the authentication guide for information about how to request this scope of authorization.

Parameters

Pass the JSON representation of the UserListCollaborator as the POST data.

Example request

Here's an example of submitting a request using curl:

curl -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer OAUTH2_ACCESS_TOKEN' \
    -d '{
    "entity_list_id": 61,
    "entity_id": 46745,
    "permission": "view"
}' \
    https://api.proz.com/v2/user-list-collaborator

Response

On success, a 201 Created HTTP status code will be returned, along with the created UserListCollaborator.

On error, a standard error response will be returned.