Skip to main content

API Reference

A brief general reference of several components of Surereach API.

API Interfaces

References of individual interfaces are documented in their respective sections. Navigate through following links to quickly get started with either of these.

API Max Concurrency Limit

Surereach API enforces a max concurrency limit of 5 request per 10 seconds within the API to prevent abuse of the API. If user exceeds the max concurrency limit then API terminates with status code 429.

You can always increase up your max concurrency limit by changing the API plan or contacting us directly.

API Error Status Codes

Surereach API returns different status codes depending on different error cases. They're listed below.

Status CodeReason PhraseError CodeDescription
400Bad Requestbad_requestSomething went wrong while parsing user request.
400Bad Requestoptions_validation_failedSomething wrong with options or API parameters.
401Bad Requestmissing_tokenToken is missing. Please provide proper Authorization header with Bearer token.
401Bad Requestinvalid_tokenYour token is invalid. Please ensure that correct token is being used.
401Bad Requestexpired_tokenYour token is expired.
401Bad Requestinvalid_tokenYour token(signature) is invalid.
401Bad Requestrevoked_tokenThis account has been disabled.
401Bad Requestinvalid_referral_codeThe referral code is not valid.
401Bad Requestinvalid_file_formatInvalid type of file is passed.
401Bad Requestinvalid_report_typeReported invalid issue.
401ForbiddenInsufficient creditsNot enough credits in wallet.
403ForbiddenUser not verifiedUser is not verified.
403Bad RequestUnable to read the given fileUnable to read the given file. Please ensure the file is not corrupted.
403Bad RequestMissing Required ColumnFile missing a required column 'linkedin_url'. This column should contain valid Linkedin URLs.
403Limit ExceedTeams limit exceededOwners can only have up to 5 teams.
403ForbiddenUser is not allowed to create a teamUser doesn't have access to create a team, Please contact the admin to allow.
403Not ResolvedLinkedin bulk request not resolved.The requested bulk requests is not resolved yet.
403ForbiddenBulk submit not allowedUser doesn't have access to use bulk upload API. Please contact the admin to allow the access
404Not FoundData not foundData Not Found.
404Not FoundLinkedin bulk requests not foundLinkedin bulk request not found for the current user.
404Not FoundTeam with the given ID not foundThere is no team exist associated with current user
404Not FoundCould not find director detailsDirector data not found
404Not FoundUser not foundUser not found
405Bad Requestmethod not allowedYou can requesting with unexpected request type. You need to change the request type.
409Bad RequestUser not foundUser not found
409Bad RequestReport already existsReport already exists, Please do not report the same report again
409Bad RequestA team owner cannot become a team memberA team owner cannot become a member of the team.
409Bad RequestMember already exists in a teamThe requested member already member of the team.
409Bad RequestYour phone is blacklistedYour phone is blacklisted, Please contact support.
409Bad RequestYour company is blacklistedYour company is blacklisted, Please contact support.
409Lock Error`Same operation is already processingMaximum number of OTP submit exceeded, please try after some time.
410OTP ExpiredOTP ExpiredOTP is expired, please resend the OTP again.
429Rate LimitedWait for a few seconds to resend OTPWait for a few seconds to resend OTP again.
429Request Rate LimitedRate LimitedThe API reached the max concurrency limit.
500Internal Server Error Occurredcontact_supportSomething went wrong with Surereach API servers.

Example API Error Response

{
"data": null,
"error": null,
"message": "Your token is expired.",
"status_code": 401,
"success": false,
"message_code": "expired_token"
}

API Credits Usage

Each request to the Surereach API incurs 1 credit unless there has been some internal server error or some unexpected exception with the API itself.