API information
Use our API endpoints for Get CID and PidMS (Check Keys), or install the WordPress plugin to add both services to your website.
Token authentication
Add the token to the URL using the token parameter.
https://bs.getcid.xyz/webapi/getcid/?token=************************************************&iid=7661415...https://bs.getcid.xyz/webapi/pidms/?token=************************************************&key=XXXXX-...GetCID
Get a Confirmation ID from an Installation ID through the API.
iid(mandatory): Your Installation ID. It can be sent with or without hyphens.
token(mandatory): Your token. See Token authentication above.
onlycid(optional, default 0): Set onlycid to 1 to omit user information from the response.
lang(optional, default en): Language used in the server response.
Available languages: en, es, pt, fr, ar, id, tr, ru, zh, it, vi, pl, ko.
https://bs.getcid.xyz/webapi/getcid/?token=abcdef&iid=7661415465...https://bs.getcid.xyz/webapi/getcid/?token=abcdef&lang=es&iid=6662416...Request examples
Ready to usecurl --request GET \
--url "https://bs.getcid.xyz/webapi/getcid/?token=YOUR_URL_TOKEN&iid=7661415465827916162801512875466823083683014123514870464278210337292118364446352391&lang=es"Server response
If everything is correct, the server returns JSON in this format:
{
"cid": "435504-697485-138242-433182-497552-083534-176493-978266",
"c_cid": "435504697485138242433182497552083534176493978266",
"user_data": {
"credit": 100,
"autocall_price": 0.4
}
}The errorDetail field provides details about errors.
- Invalid IID.
- Insufficient credit for the CID service. Contact us.
- This IID has failed many times. Try again in a few seconds.
- Internal server error. Contact us if it persists.
If something goes wrong, the response looks like this:
{
"errorDetail": "Invalid Installation ID.",
"user_data": {
"credit": 100,
"autocall_price": 0.4
}
}Info: Your current credit is always returned. Credit is deducted only after a successful call. Requests are prevented when available credit is insufficient or reserved by pending calls.