Get customer signup details
Gets customer signup details by id.
Endpoint
GET /integration/customer/{id}/signup
HTTP Request
GET /integration/customer/{id}/signup
Query parameters
| Name | Description | Required | Type |
|---|---|---|---|
| id | Identifier for the customer to get | Yes | string |
Successful response, signup details object
{
"signUpUrl": "https://www.bluetape.com/signup?id=97bee7a043b58084"
}
Response parameters
SignUp Details Object
| Name | Description | Type |
|---|---|---|
| signUpUrl | The signup url dedicated to customer. | string |
Erroneous response
{
"code": "404",
"reason": "Customer not found."
}
Responses
| Code | Description |
|---|---|
| 200 | Successful operation |
| 400 | Invalid request |
| 401 | Unauthorized |
| 404 | Not found |
| 500 | Unexpected error |
Examples
curl https://api.bluetape.com/genericBthubService/integration/customer/<customerId>/signup \
-H "X-BlueTape-Key: <your-key>" \
-H "X-Integration-AccountId: <your-account-id>" \
import fetch from 'node-fetch';
const companyId = 'dc506b22c7fa';
const url = `https://api.bluetape.com/genericBthubService/integration/customer/${customerId}/signup`;
const options = {
method: 'GET',
headers: {
'X-BlueTape-Key': '<your-key>',
'X-Integration-AccountId': '<your-account-id>',
'Content-Type': 'application/json'
}
};
fetch(url, options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
using Flurl.Http;
var companyId = "dc506b22c7fa";
var url = $"https://api.bluetape.com/genericBthubService/integration/customer/{customerId}/signup";
var result = await url
.WithHeader("X-BlueTape-Key", "<your-key>")
.WithHeader("X-Integration-AccountId", "<your-account-id>")
.WithHeader("Content-Type", "application/json")
.GetJsonAsync<SignUpDetails>();
import requests
companyId = "dc506b22c7fa"
url = f'https://api.bluetape.com/genericBthubService/integration/customer/{customerId}/signup'
headers = {
"X-BlueTape-Key": "<your-key>",
"X-Integration-AccountId": "<your-account-id>",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers)
print(response.text)