Skip to main content

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

NameDescriptionRequiredType
idIdentifier for the customer to getYesstring

Successful response, signup details object

{
"signUpUrl": "https://www.bluetape.com/signup?id=97bee7a043b58084"
}

Response parameters

SignUp Details Object

NameDescriptionType
signUpUrlThe signup url dedicated to customer.string

Erroneous response

{
"code": "404",
"reason": "Customer not found."
}

Responses

CodeDescription
200Successful operation
400Invalid request
401Unauthorized
404Not found
500Unexpected 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)