Domains of expertise

A domain of expertise allows you to classify your jobs by domain of expertise. For example, you can create a domain of expertise for "IT" and assign it to jobs that require IT knowledge.

The domain of expertise object

Properties

  • idstring

    Unique identifier for the object.

  • namestring

    The name of the domain of expertise.

domain of expertise object

{
  "name": "Art & Culture",
  "id": "6548c11c5136b418fd626e45"
}

GET/v2/account/domains

List all Domains of expertise

This endpoint allows you to retrieve all the domains of expertise.

Request

GET
/v2/account/domains
curl -G https://api.lsp.expert/v2/account/domains \
  -u {key}: 

Response

[
  {
    "name": "Art & Culture",
    "id": "6548c11c5136b418fd626e45"
  },
  {
    "name": "Automotive",
    "id": "6548c11c5136b418fd626e44"
  },
  {
    "name": "Certified translations",
    "id": "6548c11c5136b418fd626e43"
  }
  // ...
]

POST/v2/account/domains

Create a domain of expertise

This endpoint allows you to add a new domain of expertise.

Parameters

  • namestring Required

    The name of the domain of expertise.

Request

POST
/v2/account/domains
curl https://api.lsp.expert/v2/account/domains \
  -u {key}: \
  -d name="IT" 

Response

{
  "id": "66e7f69da9d8b6741f4a441d",
  "name": "IT"
}


PUT/v2/account/domains/:id

Update a domain of expertise

This endpoint allows you to perform an update on a domain of expertise. Any parameters not provided will be left unchanged.

Parameters

  • namestring

    The name of the domain of expertise.

Request

PUT
/v2/account/domains/:id
curl -X PUT https://api.lsp.expert/v2/account/domains/66e7f69da9d8b6741f4a441d \
  -u {key}: \
  -d name="IT (Information Technology)"

Response

{
  "id": "66e7f69da9d8b6741f4a441d",
  "name": "IT (Information Technology)"
}

DELETE/v2/account/domains/:id

Delete a domain of expertise

This endpoint allows you to delete a domain of expertise.

Request

DELETE
/v2/account/domains/66e7f69da9d8b6741f4a441d
curl -X DELETE https://api.lsp.expert/v2/account/domains/66e7f69da9d8b6741f4a441d \
  -u {key}: