# Upwork

> Read your Upwork profile, contracts, freelancer profiles and job postings; search marketplace jobs with the GraphQL API.

App · 8 actions. Web page: https://docs.lodol.com/docs/integrations/upwork

## Actions

### Get contract

Get contract.

**Inputs**

- Contract ID (`contract_id`, text, required): Contract id.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "contractType": "example",
    "createdDateTime": "example",
    "id": "example",
    "modifiedDateTime": "example",
    "status": "example",
    "title": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get current user

Get current user.

**Inputs**: None.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "email": "example",
    "id": "example",
    "name": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get freelancer profile

Get freelancer profile.

**Inputs**

- Profile key (`profile_key`, text, required): Profile key.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "aggregates": {
      "adjustedFeedbackScore": 0,
      "totalHourlyJobs": 0
    },
    "personalData": {
      "chargeRate": {
        "currency": "example",
        "displayValue": "example"
      },
      "description": "example",
      "title": "example"
    }
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get job posting

Get job posting.

**Inputs**

- Job posting id (`job_posting_id`, text, required): Job posting id.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "id": "example",
    "version": 0,
    "visibility": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get marketplace job

Get marketplace job.

**Inputs**

- Job id (`job_id`, text, required): Job id.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "content": {
      "description": "example",
      "title": "example"
    },
    "contractTerms": {
      "contractType": "example"
    },
    "id": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get marketplace job contents

Get marketplace job contents.

**Inputs**

- Job ids (`job_ids`, list, required): Job ids.

**Outputs**

- `data` (list): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": [],
  "has_more": false,
  "next_cursor": null
}
```

### Get user

Get user.

**Inputs**

- Person ID (`person_id`, text, required): Person id.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "email": "example",
    "firstName": "example",
    "id": "example",
    "lastName": "example",
    "name": "example",
    "publicUrl": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Search jobs

Search jobs.

**Inputs**

- Search text (`search_text`, text): Search text.
- Next page cursor (`after`, text): Leave empty for the first page; use next_cursor from the previous result to continue.
- First (`first`, number): First. From 1 to 100.

**Outputs**

- `data` (object): Service response or returned records.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Cursor for the next page; empty when finished.

**Example output**

```json
{
  "data": {
    "edges": [],
    "items": [],
    "pageInfo": {
      "endCursor": "example",
      "hasNextPage": false
    },
    "totalCount": 0
  },
  "has_more": false,
  "next_cursor": null
}
```
