> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.agentphone.ai/api-reference/registration/get-registration-status-v-1-register-status-get/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.agentphone.ai/_mcp/server. # Get Registration Status GET https://api.agentphone.ai/v1/register/status Check the status of your A2P 10DLC registration. ### Sub-account status To check the registration status of a sub-account, pass the `X-Sub-Account-Id` header with the sub-account ID returned from `POST /v1/register`. ### Possible statuses - `none` -- No registration submitted. - `pending` -- Registration is under review. - `approved` -- Registration approved. Your account is ready to send messages. Reference: https://docs.agentphone.ai/api-reference/registration/get-registration-status-v-1-register-status-get ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Request ### Headers - `X-Sub-Account-Id` (string, optional) — Check a sub-account's registration status. Pass the sub-account ID returned from `POST /v1/register`. Omit to check the master account. ## Response ### 200 Successful Response - `campaign_status` (string, required) - `message` (string, required) - `stage` (string, optional, nullable) - `issue` (RegistrationIssue, optional, nullable) — Set when `stage` is `action_required`: the reason and what to change. For a registration under review, resubmitting with PATCH /v1/register clears it. A registration that failed carrier review (`campaign_status` back to `none`) is resubmitted with POST /v1/register; a suspended one needs support. - `sub_account_id` (string, optional, nullable) — Set when the registration lives on a sub-account of the calling account (the default for POST /v1/register). Pass it as the X-Sub-Account-Id header to address that sub-account directly. ## Types ### RegistrationIssue - `code` (string, required) — Why the registration needs attention. One of `brand_name_ein_mismatch`, `opt_in_evidence_required`, `campaign_rejected`, `campaign_suspended`, `other`. - `message` (string, required) — What to fix, in plain language. - `since` (string, optional, nullable) — When the issue was raised (ISO 8601). ## Examples **Response** ```json { "campaign_status": "string", "message": "string", "stage": "string", "issue": { "code": "string", "message": "string", "since": "string" }, "sub_account_id": "string" } ``` **SDK Code** ```python import requests url = "https://api.agentphone.ai/v1/register/status" headers = {"Authorization": "Bearer "} response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript const url = 'https://api.agentphone.ai/v1/register/status'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.agentphone.ai/v1/register/status" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer ") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("https://api.agentphone.ai/v1/register/status") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer ' response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("https://api.agentphone.ai/v1/register/status") .header("Authorization", "Bearer ") .asString(); ``` ```php request('GET', 'https://api.agentphone.ai/v1/register/status', [ 'headers' => [ 'Authorization' => 'Bearer ', ], ]); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("https://api.agentphone.ai/v1/register/status"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer "); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let headers = ["Authorization": "Bearer "] let request = NSMutableURLRequest(url: NSURL(string: "https://api.agentphone.ai/v1/register/status")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```