Get Contact
get/v1/contacts/getThis API allows you to get contact details based on the contactId you specified in the query parameter.
Code snippet
curl -X 'GET' \ 'https://api.boldsign.com/v1/contacts/get?id=6797a07d-26d7-41fa-b3a8-c8f72378a7a6c_ErZHN' \ -H 'accept: application/json' \ -H 'X-API-KEY: {your API key}' \
// accessing metadata property requires beta version of the SDK at least v4.10.18-beta var apiClient = new ApiClient("https://api.boldsign.com", "{apikey}"); var contactClient = new ContactClient(apiClient); var contactDetails = await contactClient.GetContactAsync("6797a07d-26d7-41fa-b3a8-c8f72378a7a6c_ErZHN").ConfigureAwait(false);
import boldsign configuration = boldsign.Configuration( api_key = "YOUR_API_KEY" ) with boldsign.ApiClient(configuration) as api_client: contacts_api = boldsign.ContactsApi(api_client) get_contact_details_response = contacts_api.get_contact( id="YOUR_CONTACT_ID" )
const axios = require('axios'); axios.get('https://api.boldsign.com/v1/contacts/get', { params: { id:'6797a07d-26d7-41fa-b3a8-c8f72378a7a6c_Zah73', }, headers: { accept: '*/*', 'X-API-KEY': '{your API key}', 'Content-Type': 'application/json', } }).then((response) => { console.log(response.data); });
<?php require_once "vendor/autoload.php"; use GuzzleHttp\Client; use GuzzleHttp\Psr7\Request; $client = new Client(); $headers = [ 'accept' => 'application/json', 'X-API-KEY' => '{your API key}' ]; $request = new Request('GET', 'https://api.boldsign.com/v1/contacts/get?id=6797a07d-26d7-41fa-b3a8-c8f72378a7a6c_ErZHN', $headers); $res = $client->sendAsync($request)->wait(); echo $res->getBody();
Query parameters
idstringRequired | The Contact ID of the User. |
Example response
200 Success
{ "contactId": "6797a07d-26d7-41fa-b3a8-c8f72378a7a6c_ErZHN", "name": "LutherCooper", "email": "luthercooper@cubeflakes.com", "companyName": "CubeFlakes", "jobTitle": "Developer", "phoneNumber": { "countryCode": "+1", "number": "2015550123" } }