TrueXCore Number Recycling API
API aggregator for number recycling verification. Checks if a mobile number (MSISDN) has been recycled (reassigned to a new subscriber) after a specified date. Routes consumer requests to the correct provider based on the operator code resolved from the MSISDN through Telcofinder. Only Orange (004) and Yoigo (005) operators are supported.
/healthHealth checkParameters
No parameters
Responses
| Code | Description | Links |
|---|---|---|
| 200 | Service is healthy Media type application/jsonHealthResponse { status string } | No links |
| 503 | Service is unhealthy Media type application/jsonHealthResponse { status string } | No links |
/number-recycling/checkCheck if a number has been recycledVerifies if a phone number (MSISDN) has been recycled after a specified date. Requires permission truexcore.numberRecycling.check. The request always routes through Telcofinder operator lookup using the provided phoneNumber. Only Orange (004) and Yoigo (005) operators are supported. Returns 404 if the operator is not in the allowed list.
- Bearer JWT
Parameters
No parameters
Request bodyrequired
Media type
application/json{
"phoneNumber": "+34600123456",
"specifiedDate": "2023-07-03"
}Customer phone number in E.164 format (starting with country code).
Reference date to verify if the number has been recycled, in YYYY-MM-DD format
Responses
| Code | Description | Links |
|---|---|---|
| 200 | Number recycling check completed successfully Media type application/jsonNumberRecyclingCheckResponse { phoneNumberRecycled* boolean Indicates whether the phone number has been recycled after the specified date traceId* string Distributed trace identifier propagated through the request lifecycle } | No links |
| 400 | Validation error or invalid request parameters Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable TrueXCore error code. Current public values are VALIDATION_ERROR, INVALID_ARGUMENT, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, PATH_NOT_FOUND, TOO_MANY_REQUESTS, SERVICE_UNAVAILABLE and INTERNAL_SERVER_ERROR. INVALID_ARGUMENT is propagated from the provider on a 400 and TOO_MANY_REQUESTS accompanies the documented 429 response. message* string Detailed error description } | No links |
| 401 | Unauthorized Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable TrueXCore error code. Current public values are VALIDATION_ERROR, INVALID_ARGUMENT, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, PATH_NOT_FOUND, TOO_MANY_REQUESTS, SERVICE_UNAVAILABLE and INTERNAL_SERVER_ERROR. INVALID_ARGUMENT is propagated from the provider on a 400 and TOO_MANY_REQUESTS accompanies the documented 429 response. message* string Detailed error description } | No links |
| 403 | Forbidden — missing required permission Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable TrueXCore error code. Current public values are VALIDATION_ERROR, INVALID_ARGUMENT, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, PATH_NOT_FOUND, TOO_MANY_REQUESTS, SERVICE_UNAVAILABLE and INTERNAL_SERVER_ERROR. INVALID_ARGUMENT is propagated from the provider on a 400 and TOO_MANY_REQUESTS accompanies the documented 429 response. message* string Detailed error description } | No links |
| 404 | Operator not supported or information not available Media type application/jsonoperatorNotSupported informationNotAvailable ErrorResponse { trace_id string Distributed trace identifier. code* string Stable TrueXCore error code. Current public values are VALIDATION_ERROR, INVALID_ARGUMENT, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, PATH_NOT_FOUND, TOO_MANY_REQUESTS, SERVICE_UNAVAILABLE and INTERNAL_SERVER_ERROR. INVALID_ARGUMENT is propagated from the provider on a 400 and TOO_MANY_REQUESTS accompanies the documented 429 response. message* string Detailed error description } | No links |
| 429 | Too many requests — quota exceeded Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable TrueXCore error code. Current public values are VALIDATION_ERROR, INVALID_ARGUMENT, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, PATH_NOT_FOUND, TOO_MANY_REQUESTS, SERVICE_UNAVAILABLE and INTERNAL_SERVER_ERROR. INVALID_ARGUMENT is propagated from the provider on a 400 and TOO_MANY_REQUESTS accompanies the documented 429 response. message* string Detailed error description } | No links |
| 500 | Internal error or routing misconfiguration Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable TrueXCore error code. Current public values are VALIDATION_ERROR, INVALID_ARGUMENT, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, PATH_NOT_FOUND, TOO_MANY_REQUESTS, SERVICE_UNAVAILABLE and INTERNAL_SERVER_ERROR. INVALID_ARGUMENT is propagated from the provider on a 400 and TOO_MANY_REQUESTS accompanies the documented 429 response. message* string Detailed error description } | No links |
| 503 | Upstream dependency unavailable Media type application/jsonErrorResponse { trace_id string Distributed trace identifier. code* string Stable TrueXCore error code. Current public values are VALIDATION_ERROR, INVALID_ARGUMENT, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, PATH_NOT_FOUND, TOO_MANY_REQUESTS, SERVICE_UNAVAILABLE and INTERNAL_SERVER_ERROR. INVALID_ARGUMENT is propagated from the provider on a 400 and TOO_MANY_REQUESTS accompanies the documented 429 response. message* string Detailed error description } | No links |
HealthResponseNumberRecyclingCheckRequestCustomer phone number in E.164 format (starting with country code).
Reference date to verify if the number has been recycled, in YYYY-MM-DD format
NumberRecyclingCheckResponseIndicates whether the phone number has been recycled after the specified date
Distributed trace identifier propagated through the request lifecycle
ErrorResponseDistributed trace identifier.
Stable TrueXCore error code. Current public values are VALIDATION_ERROR, INVALID_ARGUMENT, UNAUTHORIZED, FORBIDDEN, NOT_FOUND, PATH_NOT_FOUND, TOO_MANY_REQUESTS, SERVICE_UNAVAILABLE and INTERNAL_SERVER_ERROR. INVALID_ARGUMENT is propagated from the provider on a 400 and TOO_MANY_REQUESTS accompanies the documented 429 response.
Detailed error description