# SwiftShiftApi.CaregiverApi

All URIs are relative to *http://localhost:3000*

Method | HTTP request | Description
------------- | ------------- | -------------
[**deleteCaregiver**](CaregiverApi.md#deleteCaregiver) | **DELETE** /caregivers/{caregiver_id} | 
[**deleteOrganizationCaregiver**](CaregiverApi.md#deleteOrganizationCaregiver) | **DELETE** /organizations/{organization_id}/caregivers/{caregiver_id} | 
[**deleteSiteCaregiver**](CaregiverApi.md#deleteSiteCaregiver) | **DELETE** /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id} | 
[**getCaregiver**](CaregiverApi.md#getCaregiver) | **GET** /caregivers/{caregiver_id} | 
[**getCaregiverInterview**](CaregiverApi.md#getCaregiverInterview) | **GET** /caregivers/{caregiver_id}/interviews/{interview_id} | 
[**getOrganizationCaregiver**](CaregiverApi.md#getOrganizationCaregiver) | **GET** /organizations/{organization_id}/caregivers/{caregiver_id} | 
[**getSiteCaregiver**](CaregiverApi.md#getSiteCaregiver) | **GET** /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id} | 
[**listCaregiverInterviews**](CaregiverApi.md#listCaregiverInterviews) | **GET** /caregivers/{caregiver_id}/interviews | List interviews.
[**listCaregivers**](CaregiverApi.md#listCaregivers) | **GET** /caregivers | List caregivers.
[**listOrganizationCaregivers**](CaregiverApi.md#listOrganizationCaregivers) | **GET** /organizations/{organization_id}/caregivers | List organization caregivers.
[**listSiteCaregivers**](CaregiverApi.md#listSiteCaregivers) | **GET** /organizations/{organization_id}/sites/{site_id}/caregivers | List site caregivers.
[**postCaregiver**](CaregiverApi.md#postCaregiver) | **POST** /caregivers | Creates a caregiver.
[**postOrganizationCaregiver**](CaregiverApi.md#postOrganizationCaregiver) | **POST** /organizations/{organization_id}/caregivers | Creates a caregiver.
[**postSiteCaregiver**](CaregiverApi.md#postSiteCaregiver) | **POST** /organizations/{organization_id}/sites/{site_id}/caregivers | Creates a caregiver.
[**putCaregiver**](CaregiverApi.md#putCaregiver) | **PUT** /caregivers/{caregiver_id} | 
[**putCaregiverInterview**](CaregiverApi.md#putCaregiverInterview) | **PUT** /caregivers/{caregiver_id}/interviews/{interview_id} | 
[**putOrganizationCaregiver**](CaregiverApi.md#putOrganizationCaregiver) | **PUT** /organizations/{organization_id}/caregivers/{caregiver_id} | 
[**putSiteCaregiver**](CaregiverApi.md#putSiteCaregiver) | **PUT** /organizations/{organization_id}/sites/{site_id}/caregivers/{caregiver_id} | 
[**registerUnverifiedCaregiver**](CaregiverApi.md#registerUnverifiedCaregiver) | **POST** /open/register_unverified | Register unverified caregiver.
[**verifyCaregiver**](CaregiverApi.md#verifyCaregiver) | **POST** /unverified/caregivers/{caregiver_id}/verify | 


<a name="deleteCaregiver"></a>
# **deleteCaregiver**
> Caregiver deleteCaregiver(caregiverId)



Delete caregiver.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
apiInstance.deleteCaregiver(caregiverId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **caregiverId** | **String**| The id of the caregiver. | 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="deleteOrganizationCaregiver"></a>
# **deleteOrganizationCaregiver**
> Caregiver deleteOrganizationCaregiver(organizationId, caregiverId)



Delete organization caregiver.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
apiInstance.deleteOrganizationCaregiver(organizationId, caregiverId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **caregiverId** | **String**| The id of the caregiver. | 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="deleteSiteCaregiver"></a>
# **deleteSiteCaregiver**
> Caregiver deleteSiteCaregiver(organizationId, siteId, caregiverId)



Delete site caregiver.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let siteId = null; // String | id of a site
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
apiInstance.deleteSiteCaregiver(organizationId, siteId, caregiverId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **siteId** | [**String**](.md)| id of a site | 
 **caregiverId** | **String**| The id of the caregiver. | 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getCaregiver"></a>
# **getCaregiver**
> Caregiver getCaregiver(caregiverId)



Get caregiver details.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
apiInstance.getCaregiver(caregiverId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **caregiverId** | **String**| The id of the caregiver. | 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getCaregiverInterview"></a>
# **getCaregiverInterview**
> Interview getCaregiverInterview(caregiverId, interviewId)



Get interview details.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
let interviewId = "interviewId_example"; // String | The id of the interview.
apiInstance.getCaregiverInterview(caregiverId, interviewId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **caregiverId** | **String**| The id of the caregiver. | 
 **interviewId** | **String**| The id of the interview. | 

### Return type

[**Interview**](Interview.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getOrganizationCaregiver"></a>
# **getOrganizationCaregiver**
> Caregiver getOrganizationCaregiver(organizationId, caregiverId)



Get caregiver details.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
apiInstance.getOrganizationCaregiver(organizationId, caregiverId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **caregiverId** | **String**| The id of the caregiver. | 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="getSiteCaregiver"></a>
# **getSiteCaregiver**
> Caregiver getSiteCaregiver(organizationId, siteId, caregiverId)



Get caregiver details.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let siteId = null; // String | id of a site
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
apiInstance.getSiteCaregiver(organizationId, siteId, caregiverId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **siteId** | [**String**](.md)| id of a site | 
 **caregiverId** | **String**| The id of the caregiver. | 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="listCaregiverInterviews"></a>
# **listCaregiverInterviews**
> InlineResponse20010 listCaregiverInterviews(caregiverId, opts)

List interviews.

List interviews.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
let opts = {
  'take': 50, // Number | Page size.
  'skip': 0, // Number | The start index.
  'search': "search_example", // String | Search phrase.
  'select': ["null"] // [String] | List of the properties to return.
};
apiInstance.listCaregiverInterviews(caregiverId, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **caregiverId** | **String**| The id of the caregiver. | 
 **take** | **Number**| Page size. | [optional] [default to 50]
 **skip** | **Number**| The start index. | [optional] [default to 0]
 **search** | **String**| Search phrase. | [optional] 
 **select** | [**[String]**](String.md)| List of the properties to return. | [optional] 

### Return type

[**InlineResponse20010**](InlineResponse20010.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="listCaregivers"></a>
# **listCaregivers**
> InlineResponse2007 listCaregivers(opts)

List caregivers.

List caregivers.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let opts = {
  'take': 50, // Number | Page size.
  'skip': 0, // Number | The start index.
  'search': "search_example", // String | Search phrase.
  'select': ["null"], // [String] | List of the properties to return.
  'sort': ["null"], // [String] | List of the properties to sort by.
  'q': "q_example" // String | resource query language
};
apiInstance.listCaregivers(opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **take** | **Number**| Page size. | [optional] [default to 50]
 **skip** | **Number**| The start index. | [optional] [default to 0]
 **search** | **String**| Search phrase. | [optional] 
 **select** | [**[String]**](String.md)| List of the properties to return. | [optional] 
 **sort** | [**[String]**](String.md)| List of the properties to sort by. | [optional] 
 **q** | **String**| resource query language | [optional] 

### Return type

[**InlineResponse2007**](InlineResponse2007.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="listOrganizationCaregivers"></a>
# **listOrganizationCaregivers**
> InlineResponse2007 listOrganizationCaregivers(organizationId, opts)

List organization caregivers.

List organization caregivers.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let opts = {
  'take': 50, // Number | Page size.
  'skip': 0, // Number | The start index.
  'search': "search_example", // String | Search phrase.
  'select': ["null"], // [String] | List of the properties to return.
  'sort': ["null"], // [String] | List of the properties to sort by.
  'q': "q_example" // String | resource query language
};
apiInstance.listOrganizationCaregivers(organizationId, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **take** | **Number**| Page size. | [optional] [default to 50]
 **skip** | **Number**| The start index. | [optional] [default to 0]
 **search** | **String**| Search phrase. | [optional] 
 **select** | [**[String]**](String.md)| List of the properties to return. | [optional] 
 **sort** | [**[String]**](String.md)| List of the properties to sort by. | [optional] 
 **q** | **String**| resource query language | [optional] 

### Return type

[**InlineResponse2007**](InlineResponse2007.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="listSiteCaregivers"></a>
# **listSiteCaregivers**
> InlineResponse2007 listSiteCaregivers(organizationId, siteId, opts)

List site caregivers.

List site caregivers.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let siteId = null; // String | id of a site
let opts = {
  'take': 50, // Number | Page size.
  'skip': 0, // Number | The start index.
  'search': "search_example", // String | Search phrase.
  'select': ["null"], // [String] | List of the properties to return.
  'sort': ["null"], // [String] | List of the properties to sort by.
  'q': "q_example" // String | resource query language
};
apiInstance.listSiteCaregivers(organizationId, siteId, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **siteId** | [**String**](.md)| id of a site | 
 **take** | **Number**| Page size. | [optional] [default to 50]
 **skip** | **Number**| The start index. | [optional] [default to 0]
 **search** | **String**| Search phrase. | [optional] 
 **select** | [**[String]**](String.md)| List of the properties to return. | [optional] 
 **sort** | [**[String]**](String.md)| List of the properties to sort by. | [optional] 
 **q** | **String**| resource query language | [optional] 

### Return type

[**InlineResponse2007**](InlineResponse2007.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

<a name="postCaregiver"></a>
# **postCaregiver**
> Caregiver postCaregiver(opts)

Creates a caregiver.

Creates a caregiver.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let opts = {
  'caregiverPayload': new SwiftShiftApi.CaregiverPayload() // CaregiverPayload | 
};
apiInstance.postCaregiver(opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **caregiverPayload** | [**CaregiverPayload**](CaregiverPayload.md)|  | [optional] 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="postOrganizationCaregiver"></a>
# **postOrganizationCaregiver**
> Caregiver postOrganizationCaregiver(organizationId, opts)

Creates a caregiver.

Creates a caregiver.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let opts = {
  'caregiverPayload': new SwiftShiftApi.CaregiverPayload() // CaregiverPayload | 
};
apiInstance.postOrganizationCaregiver(organizationId, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **caregiverPayload** | [**CaregiverPayload**](CaregiverPayload.md)|  | [optional] 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="postSiteCaregiver"></a>
# **postSiteCaregiver**
> Caregiver postSiteCaregiver(organizationId, siteId, opts)

Creates a caregiver.

Creates a caregiver.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let siteId = null; // String | id of a site
let opts = {
  'siteCaregiverPayload': new SwiftShiftApi.SiteCaregiverPayload() // SiteCaregiverPayload | 
};
apiInstance.postSiteCaregiver(organizationId, siteId, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **siteId** | [**String**](.md)| id of a site | 
 **siteCaregiverPayload** | [**SiteCaregiverPayload**](SiteCaregiverPayload.md)|  | [optional] 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="putCaregiver"></a>
# **putCaregiver**
> Caregiver putCaregiver(caregiverId, opts)



Update caregiver details.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
let opts = {
  'caregiverPayload': new SwiftShiftApi.CaregiverPayload() // CaregiverPayload | 
};
apiInstance.putCaregiver(caregiverId, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **caregiverId** | **String**| The id of the caregiver. | 
 **caregiverPayload** | [**CaregiverPayload**](CaregiverPayload.md)|  | [optional] 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="putCaregiverInterview"></a>
# **putCaregiverInterview**
> Interview putCaregiverInterview(caregiverId, interviewId, opts)



Update interview state.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
let interviewId = "interviewId_example"; // String | The id of the interview.
let opts = {
  'interviewPayload': new SwiftShiftApi.InterviewPayload() // InterviewPayload | 
};
apiInstance.putCaregiverInterview(caregiverId, interviewId, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **caregiverId** | **String**| The id of the caregiver. | 
 **interviewId** | **String**| The id of the interview. | 
 **interviewPayload** | [**InterviewPayload**](InterviewPayload.md)|  | [optional] 

### Return type

[**Interview**](Interview.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="putOrganizationCaregiver"></a>
# **putOrganizationCaregiver**
> Caregiver putOrganizationCaregiver(organizationId, caregiverId, opts)



Update caregiver details.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
let opts = {
  'caregiverPayload': new SwiftShiftApi.CaregiverPayload() // CaregiverPayload | 
};
apiInstance.putOrganizationCaregiver(organizationId, caregiverId, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **caregiverId** | **String**| The id of the caregiver. | 
 **caregiverPayload** | [**CaregiverPayload**](CaregiverPayload.md)|  | [optional] 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="putSiteCaregiver"></a>
# **putSiteCaregiver**
> Caregiver putSiteCaregiver(organizationId, siteId, caregiverId, opts)



Update caregiver details.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let organizationId = null; // String | id of an organization
let siteId = null; // String | id of a site
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
let opts = {
  'siteCaregiverPayload': new SwiftShiftApi.SiteCaregiverPayload() // SiteCaregiverPayload | 
};
apiInstance.putSiteCaregiver(organizationId, siteId, caregiverId, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **organizationId** | [**String**](.md)| id of an organization | 
 **siteId** | [**String**](.md)| id of a site | 
 **caregiverId** | **String**| The id of the caregiver. | 
 **siteCaregiverPayload** | [**SiteCaregiverPayload**](SiteCaregiverPayload.md)|  | [optional] 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

<a name="registerUnverifiedCaregiver"></a>
# **registerUnverifiedCaregiver**
> registerUnverifiedCaregiver(opts)

Register unverified caregiver.

Register unverified caregiver.

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let opts = {
  'caregiverUnverifiedPayload': new SwiftShiftApi.CaregiverUnverifiedPayload() // CaregiverUnverifiedPayload | 
};
apiInstance.registerUnverifiedCaregiver(opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **caregiverUnverifiedPayload** | [**CaregiverUnverifiedPayload**](CaregiverUnverifiedPayload.md)|  | [optional] 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: Not defined

<a name="verifyCaregiver"></a>
# **verifyCaregiver**
> Caregiver verifyCaregiver(caregiverId)



Verify caregiver

### Example
```javascript
import SwiftShiftApi from 'swift_shift_api';

let apiInstance = new SwiftShiftApi.CaregiverApi();
let caregiverId = "caregiverId_example"; // String | The id of the caregiver.
apiInstance.verifyCaregiver(caregiverId, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **caregiverId** | **String**| The id of the caregiver. | 

### Return type

[**Caregiver**](Caregiver.md)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

